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 intprivate intprivate 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, waitMethods 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:
getSourcein interfaceISourceFileHandle
-
getParentType
- Specified by:
getParentTypein interfaceISourceFileHandle
-
getNamespace
- Specified by:
getNamespacein interfaceISourceFileHandle
-
getFilePath
- Specified by:
getFilePathin interfaceISourceFileHandle
-
getFile
- Specified by:
getFilein interfaceISourceFileHandle
-
isTestClass
public boolean isTestClass()- Specified by:
isTestClassin interfaceISourceFileHandle
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceISourceFileHandle
-
isStandardPath
public boolean isStandardPath()- Specified by:
isStandardPathin interfaceISourceFileHandle
-
isIncludeModulePath
public boolean isIncludeModulePath()- Specified by:
isIncludeModulePathin interfaceISourceFileHandle
-
cleanAfterCompile
public void cleanAfterCompile()- Specified by:
cleanAfterCompilein interfaceISourceFileHandle
-
getClassType
- Specified by:
getClassTypein interfaceISourceFileHandle
-
getTypeNamespace
- Specified by:
getTypeNamespacein interfaceISourceFileHandle
-
getRelativeName
- Specified by:
getRelativeNamein interfaceISourceFileHandle
-
setOffset
public void setOffset(int iOffset) - Specified by:
setOffsetin interfaceISourceFileHandle
-
getOffset
public int getOffset()- Specified by:
getOffsetin interfaceISourceFileHandle
-
setEnd
public void setEnd(int iEnd) - Specified by:
setEndin interfaceISourceFileHandle
-
getEnd
public int getEnd()- Specified by:
getEndin interfaceISourceFileHandle
-
getFileName
- Specified by:
getFileNamein interfaceISourceFileHandle- Returns:
- a relative representation of the file appropriate for debugging/stack traces
-
toString
-