Package gw.internal.gosu.parser
Class InnerClassFileSystemSourceFileHandle
- java.lang.Object
-
- gw.internal.gosu.parser.InnerClassFileSystemSourceFileHandle
-
- All Implemented Interfaces:
ISourceFileHandle
public class InnerClassFileSystemSourceFileHandle extends java.lang.Object implements ISourceFileHandle
-
-
Field Summary
Fields Modifier and Type Field Description private boolean_bTestClassprivate ClassType_classTypeprivate int_iEndprivate int_iOffsetprivate int_markprivate java.lang.String_strEnclosingTypeprivate java.lang.String_strInnerClassprivate java.lang.String_strNamespace
-
Constructor Summary
Constructors Constructor Description InnerClassFileSystemSourceFileHandle(ClassType classType, java.lang.String strEnclosingType, java.lang.String strInnerClass, boolean bTestClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanAfterCompile()ClassTypegetClassType()intgetEnd()IFilegetFile()java.lang.StringgetFileName()java.lang.StringgetFilePath()intgetMark()java.lang.StringgetNamespace()intgetOffset()java.lang.StringgetParentType()java.lang.StringgetRelativeName()ISourcegetSource()java.lang.StringgetTypeNamespace()booleanisIncludeModulePath()booleanisStandardPath()booleanisTestClass()booleanisValid()voidsetEnd(int iEnd)(package private) voidsetMark(int mark)voidsetOffset(int iOffset)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.gs.ISourceFileHandle
getSource
-
-
-
-
Field Detail
-
_strInnerClass
private java.lang.String _strInnerClass
-
_strEnclosingType
private java.lang.String _strEnclosingType
-
_strNamespace
private java.lang.String _strNamespace
-
_bTestClass
private boolean _bTestClass
-
_iOffset
private int _iOffset
-
_iEnd
private int _iEnd
-
_mark
private int _mark
-
_classType
private ClassType _classType
-
-
Constructor Detail
-
InnerClassFileSystemSourceFileHandle
public InnerClassFileSystemSourceFileHandle(ClassType classType, java.lang.String strEnclosingType, java.lang.String strInnerClass, boolean bTestClass)
-
-
Method Detail
-
getSource
public ISource getSource()
- Specified by:
getSourcein interfaceISourceFileHandle
-
getParentType
public java.lang.String getParentType()
- Specified by:
getParentTypein interfaceISourceFileHandle
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceISourceFileHandle
-
getFilePath
public java.lang.String getFilePath()
- Specified by:
getFilePathin interfaceISourceFileHandle
-
getFile
public IFile getFile()
- Specified by:
getFilein interfaceISourceFileHandle
-
isTestClass
public boolean isTestClass()
- Specified by:
isTestClassin interfaceISourceFileHandle
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceISourceFileHandle
-
isStandardPath
public boolean isStandardPath()
- Specified by:
isStandardPathin interfaceISourceFileHandle
-
isIncludeModulePath
public boolean isIncludeModulePath()
- Specified by:
isIncludeModulePathin interfaceISourceFileHandle
-
cleanAfterCompile
public void cleanAfterCompile()
- Specified by:
cleanAfterCompilein interfaceISourceFileHandle
-
getClassType
public ClassType getClassType()
- Specified by:
getClassTypein interfaceISourceFileHandle
-
getTypeNamespace
public java.lang.String getTypeNamespace()
- Specified by:
getTypeNamespacein interfaceISourceFileHandle
-
getRelativeName
public java.lang.String getRelativeName()
- Specified by:
getRelativeNamein interfaceISourceFileHandle
-
setOffset
public void setOffset(int iOffset)
- Specified by:
setOffsetin interfaceISourceFileHandle
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceISourceFileHandle
-
setEnd
public void setEnd(int iEnd)
- Specified by:
setEndin interfaceISourceFileHandle
-
getEnd
public int getEnd()
- Specified by:
getEndin interfaceISourceFileHandle
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileNamein interfaceISourceFileHandle- Returns:
- a relative representation of the file appropriate for debugging/stack traces
-
getMark
public int getMark()
-
setMark
void setMark(int mark)
-
-