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