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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private int
(package private) boolean
(package private) ISource
-
Constructor Summary
ConstructorsConstructorDescriptionFileSystemSourceFileHandle
(FileSystemGosuClassRepository.ClassFileInfo fileInfo, boolean isTestClass) -
Method Summary
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
-
Field Details
-
_source
ISource _source -
_isTestClass
boolean _isTestClass -
_classPathLength
private int _classPathLength -
_fileInfo
-
_iOffset
private int _iOffset -
_iEnd
private int _iEnd
-
-
Constructor Details
-
FileSystemSourceFileHandle
public FileSystemSourceFileHandle(FileSystemGosuClassRepository.ClassFileInfo fileInfo, boolean isTestClass)
-
-
Method Details
-
getSource
- Specified by:
getSource
in interfaceISourceFileHandle
-
getParentType
- Specified by:
getParentType
in interfaceISourceFileHandle
-
getNamespace
- Specified by:
getNamespace
in interfaceISourceFileHandle
-
getFilePath
- Specified by:
getFilePath
in interfaceISourceFileHandle
-
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
- Specified by:
getClassType
in interfaceISourceFileHandle
-
getTypeNamespace
- Specified by:
getTypeNamespace
in interfaceISourceFileHandle
-
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
- Specified by:
getFileName
in interfaceISourceFileHandle
- Returns:
- a relative representation of the file appropriate for debugging/stack traces
-
toString
-