Package gw.internal.gosu.parser
Class FileSystemGosuClassRepository.ClassFileInfo
- java.lang.Object
-
- gw.internal.gosu.parser.FileSystemGosuClassRepository.ClassFileInfo
-
- All Implemented Interfaces:
IFileSystemGosuClassRepository.IClassFileInfo
- Enclosing class:
- FileSystemGosuClassRepository
public static class FileSystemGosuClassRepository.ClassFileInfo extends Object implements IFileSystemGosuClassRepository.IClassFileInfo
-
-
Constructor Summary
Constructors Constructor Description ClassFileInfo(IFileSystemGosuClassRepository.ClassPathEntry entry, IFile file, boolean isTestClass)
ClassFileInfo(ISourceFileHandle outerSfh, ClassType classType, String fileType, List<String> innerClassParts, boolean isTestClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClassPathLength()
String
getContent()
IFileSystemGosuClassRepository.ClassPathEntry
getEntry()
IFile
getFile()
String
getFileName()
String
getFilePath()
String
getNonCanonicalFileName()
IDirectory
getParentFile()
Reader
getReader()
ISourceFileHandle
getSourceFileHandle()
boolean
hasInnerClass()
void
stopCachingContent()
String
toString()
-
-
-
Constructor Detail
-
ClassFileInfo
public ClassFileInfo(IFileSystemGosuClassRepository.ClassPathEntry entry, IFile file, boolean isTestClass)
-
ClassFileInfo
public ClassFileInfo(ISourceFileHandle outerSfh, ClassType classType, String fileType, List<String> innerClassParts, boolean isTestClass)
-
-
Method Detail
-
getFile
public IFile getFile()
- Specified by:
getFile
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
hasInnerClass
public boolean hasInnerClass()
- Specified by:
hasInnerClass
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getSourceFileHandle
public ISourceFileHandle getSourceFileHandle()
- Specified by:
getSourceFileHandle
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getEntry
public IFileSystemGosuClassRepository.ClassPathEntry getEntry()
- Specified by:
getEntry
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getParentFile
public IDirectory getParentFile()
- Specified by:
getParentFile
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getReader
public Reader getReader()
- Specified by:
getReader
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getNonCanonicalFileName
public String getNonCanonicalFileName()
- Specified by:
getNonCanonicalFileName
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getFilePath
public String getFilePath()
- Specified by:
getFilePath
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getClassPathLength
public int getClassPathLength()
- Specified by:
getClassPathLength
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
getContent
public String getContent()
- Specified by:
getContent
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
stopCachingContent
public void stopCachingContent()
- Specified by:
stopCachingContent
in interfaceIFileSystemGosuClassRepository.IClassFileInfo
-
-