Package gw.internal.gosu.parser
Class FileSystemGosuClassRepository.FileSystemSourceFileHandle
- java.lang.Object
-
- gw.internal.gosu.parser.FileSystemGosuClassRepository.FileSystemSourceFileHandle
-
- All Implemented Interfaces:
ISourceFileHandle
- Enclosing class:
- FileSystemGosuClassRepository
public static final class FileSystemGosuClassRepository.FileSystemSourceFileHandle extends Object implements ISourceFileHandle
-
-
Constructor Summary
Constructors Constructor Description FileSystemSourceFileHandle(FileSystemGosuClassRepository.ClassFileInfo fileInfo, boolean isTestClass)
-
Method Summary
All Methods Instance Methods Concrete 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()
String
getTypeNamespace()
boolean
isIncludeModulePath()
boolean
isStandardPath()
boolean
isTestClass()
boolean
isValid()
void
setEnd(int iEnd)
void
setOffset(int iOffset)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.gs.ISourceFileHandle
getSource
-
-
-
-
Constructor Detail
-
FileSystemSourceFileHandle
public FileSystemSourceFileHandle(FileSystemGosuClassRepository.ClassFileInfo fileInfo, boolean isTestClass)
-
-
Method Detail
-
getSource
public ISource getSource()
- Specified by:
getSource
in interfaceISourceFileHandle
-
getParentType
public String getParentType()
- Specified by:
getParentType
in interfaceISourceFileHandle
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceISourceFileHandle
-
getFilePath
public String getFilePath()
- Specified by:
getFilePath
in interfaceISourceFileHandle
-
getFile
public IFile getFile()
- Specified by:
getFile
in interfaceISourceFileHandle
-
isTestClass
public boolean isTestClass()
- Specified by:
isTestClass
in interfaceISourceFileHandle
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceISourceFileHandle
-
isStandardPath
public boolean isStandardPath()
- Specified by:
isStandardPath
in interfaceISourceFileHandle
-
isIncludeModulePath
public boolean isIncludeModulePath()
- Specified by:
isIncludeModulePath
in interfaceISourceFileHandle
-
cleanAfterCompile
public void cleanAfterCompile()
- Specified by:
cleanAfterCompile
in interfaceISourceFileHandle
-
getClassType
public ClassType getClassType()
- Specified by:
getClassType
in interfaceISourceFileHandle
-
getTypeNamespace
public String getTypeNamespace()
- Specified by:
getTypeNamespace
in interfaceISourceFileHandle
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeName
in interfaceISourceFileHandle
-
setOffset
public void setOffset(int iOffset)
- Specified by:
setOffset
in interfaceISourceFileHandle
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceISourceFileHandle
-
setEnd
public void setEnd(int iEnd)
- Specified by:
setEnd
in interfaceISourceFileHandle
-
getEnd
public int getEnd()
- Specified by:
getEnd
in interfaceISourceFileHandle
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfaceISourceFileHandle
- Returns:
- a relative representation of the file appropriate for debugging/stack traces
-
-