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 void
cleanAfterCompile()
ClassType
getClassType()
int
getEnd()
IFile
getFile()
String
getFileName()
String
getFilePath()
String
getNamespace()
int
getOffset()
String
getParentType()
String
getRelativeName()
ISource
getSource()
default ISource
getSource(boolean header)
String
getTypeNamespace()
boolean
isIncludeModulePath()
boolean
isStandardPath()
boolean
isTestClass()
boolean
isValid()
void
setEnd(int iEnd)
void
setOffset(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()
-
-