Class SimpleModule
java.lang.Object
manifold.internal.host.SimpleModule
- All Implemented Interfaces:
IModule
- Direct Known Subclasses:
DefaultSingleModule
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleModule(IManifoldHost host, List<IDirectory> classpath, List<IDirectory> sourcePath, List<IDirectory> outputPath) -
Method Summary
Modifier and TypeMethodDescriptiongetChildrenOfNamespace(String packageName) getHost()The path[s] having source files that should be exposed to this module.voidproduceFile(String fqn, JavaFileManager.Location location, DiagnosticListener<JavaFileObject> errorHandler) protected voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IModule
findTypeManifoldsFor, findTypeManifoldsFor, findTypeManifoldsFor, findTypeManifoldsFor, getExcludedTypeManifolds, getFileSystem, getName, getTypeManifoldSorter, loadRegistered, loadTypeManifolds
-
Constructor Details
-
SimpleModule
public SimpleModule(IManifoldHost host, List<IDirectory> classpath, List<IDirectory> sourcePath, List<IDirectory> outputPath)
-
-
Method Details
-
getHost
-
getSourcePath
Description copied from interface:IModuleThe path[s] having source files that should be exposed to this module.- Specified by:
getSourcePathin interfaceIModule
-
getJavaClassPath
- Specified by:
getJavaClassPathin interfaceIModule
-
setJavaClassPath
-
getOutputPath
- Specified by:
getOutputPathin interfaceIModule
-
getExcludedPath
- Specified by:
getExcludedPathin interfaceIModule
-
getCollectiveSourcePath
- Specified by:
getCollectiveSourcePathin interfaceIModule
-
getCollectiveJavaClassPath
- Specified by:
getCollectiveJavaClassPathin interfaceIModule
-
getDependencies
- Specified by:
getDependenciesin interfaceIModule- Returns:
- A list of dependency modules. The dependency graph must not have cycles.
-
getPathCache
- Specified by:
getPathCachein interfaceIModule
-
getTypeManifolds
- Specified by:
getTypeManifoldsin interfaceIModule
-
produceFile
public JavaFileObject produceFile(String fqn, JavaFileManager.Location location, DiagnosticListener<JavaFileObject> errorHandler) - Specified by:
produceFilein interfaceIModule
-
initializeTypeManifolds
public void initializeTypeManifolds() -
getChildrenOfNamespace
-