Package gw.lang.init
Class GosuTypeManifold
java.lang.Object
gw.lang.init.GosuTypeManifold
- All Implemented Interfaces:
manifold.api.type.IFileConnected
,manifold.api.type.ISelfCompiled
,manifold.api.type.ITypeManifold
-
Field Summary
FieldsFields inherited from interface manifold.api.type.ITypeManifold
ARG_DUMP_SOURCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
byte[]
contribute
(JavaFileManager.Location location, String fqn, boolean b, String s1, DiagnosticListener<JavaFileObject> diagnosticListener) List<manifold.api.fs.IFile>
findFilesForType
(String fqn) private IType
findGosuClass
(String fqn) manifold.api.type.ClassType
getClassType
(String fqn) manifold.api.type.ContributorKind
manifold.api.host.IModule
getPackage
(String fqn) manifold.api.type.ISourceKind
Collection<manifold.api.type.TypeName>
getTypeNames
(String pkg) String[]
getTypesForFile
(manifold.api.fs.IFile iFile) boolean
handlesFile
(manifold.api.fs.IFile file) boolean
void
init
(manifold.api.host.IModule module) boolean
boolean
isSelfCompile
(String fqn) boolean
isTopLevelType
(String fqn) boolean
manifold.api.host.RefreshKind
refreshedFile
(manifold.api.fs.IFile iFile, String[] strings, manifold.api.host.RefreshKind refreshKind) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface manifold.api.type.IFileConnected
isFileBacked
Methods inherited from interface manifold.api.type.ISelfCompiled
parse
Methods inherited from interface manifold.api.type.ITypeManifold
accept, enterPostJavaCompilation
-
Field Details
-
_module
private manifold.api.host.IModule _module
-
-
Constructor Details
-
GosuTypeManifold
public GosuTypeManifold()
-
-
Method Details
-
init
public void init(manifold.api.host.IModule module) - Specified by:
init
in interfacemanifold.api.type.ITypeManifold
-
getModule
public manifold.api.host.IModule getModule()- Specified by:
getModule
in interfacemanifold.api.type.ITypeManifold
-
getSourceKind
public manifold.api.type.ISourceKind getSourceKind()- Specified by:
getSourceKind
in interfacemanifold.api.type.ITypeManifold
-
getContributorKind
public manifold.api.type.ContributorKind getContributorKind()- Specified by:
getContributorKind
in interfacemanifold.api.type.ITypeManifold
-
isType
- Specified by:
isType
in interfacemanifold.api.type.ITypeManifold
-
isTopLevelType
- Specified by:
isTopLevelType
in interfacemanifold.api.type.ITypeManifold
-
isPackage
- Specified by:
isPackage
in interfacemanifold.api.type.ITypeManifold
-
getClassType
- Specified by:
getClassType
in interfacemanifold.api.type.ITypeManifold
-
getPackage
- Specified by:
getPackage
in interfacemanifold.api.type.ITypeManifold
-
contribute
public String contribute(JavaFileManager.Location location, String fqn, boolean b, String s1, DiagnosticListener<JavaFileObject> diagnosticListener) - Specified by:
contribute
in interfacemanifold.api.type.ITypeManifold
-
getAllTypeNames
- Specified by:
getAllTypeNames
in interfacemanifold.api.type.ITypeManifold
-
getTypeNames
- Specified by:
getTypeNames
in interfacemanifold.api.type.ITypeManifold
-
findFilesForType
- Specified by:
findFilesForType
in interfacemanifold.api.type.ITypeManifold
-
clear
public void clear()- Specified by:
clear
in interfacemanifold.api.type.ITypeManifold
-
handlesFileExtension
- Specified by:
handlesFileExtension
in interfacemanifold.api.type.IFileConnected
-
handlesFile
public boolean handlesFile(manifold.api.fs.IFile file) - Specified by:
handlesFile
in interfacemanifold.api.type.IFileConnected
-
getTypesForFile
- Specified by:
getTypesForFile
in interfacemanifold.api.type.IFileConnected
-
refreshedFile
public manifold.api.host.RefreshKind refreshedFile(manifold.api.fs.IFile iFile, String[] strings, manifold.api.host.RefreshKind refreshKind) - Specified by:
refreshedFile
in interfacemanifold.api.type.IFileConnected
-
isSelfCompile
- Specified by:
isSelfCompile
in interfacemanifold.api.type.ISelfCompiled
-
compile
- Specified by:
compile
in interfacemanifold.api.type.ISelfCompiled
-
findGosuClass
-