Package gw.lang.reflect.gs
Interface ISourceFileHandle
-
- All Known Implementing Classes:
AsmBackingSourceFileHandle,FileSystemGosuClassRepository.FileSystemSourceFileHandle,InnerClassFileSystemSourceFileHandle,LazyStringSourceFileHandle,StringSourceFileHandle
public interface ISourceFileHandle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcleanAfterCompile()ClassTypegetClassType()intgetEnd()IFilegetFile()java.lang.StringgetFileName()java.lang.StringgetFilePath()java.lang.StringgetNamespace()intgetOffset()java.lang.StringgetParentType()java.lang.StringgetRelativeName()ISourcegetSource()default ISourcegetSource(boolean header)java.lang.StringgetTypeNamespace()booleanisIncludeModulePath()booleanisStandardPath()booleanisTestClass()booleanisValid()voidsetEnd(int iEnd)voidsetOffset(int iOffset)
-
-
-
Method Detail
-
getSource
ISource getSource()
-
getSource
default ISource getSource(boolean header)
-
getParentType
java.lang.String getParentType()
-
getNamespace
java.lang.String getNamespace()
-
getFilePath
java.lang.String getFilePath()
-
isTestClass
boolean isTestClass()
-
isValid
boolean isValid()
-
isStandardPath
boolean isStandardPath()
-
isIncludeModulePath
boolean isIncludeModulePath()
-
cleanAfterCompile
void cleanAfterCompile()
-
getClassType
ClassType getClassType()
-
getTypeNamespace
java.lang.String getTypeNamespace()
-
getRelativeName
java.lang.String getRelativeName()
-
setOffset
void setOffset(int iOffset)
-
getOffset
int getOffset()
-
setEnd
void setEnd(int iEnd)
-
getEnd
int getEnd()
-
getFileName
java.lang.String getFileName()
- Returns:
- a relative representation of the file appropriate for debugging/stack traces
-
getFile
IFile getFile()
-
-