gnu.expr
public class ModuleManager extends Object
Field Summary | |
---|---|
long | lastModifiedCacheTime Number millseconds before we re-check file's modified time. |
static long | LAST_MODIFIED_CACHE_TIME |
Method Summary | |
---|---|
void | add(ModuleInfo info) |
void | clear() Reset the set of known modules. |
ModuleInfo | find(Compilation comp) |
ModuleInfo | findWithClassName(String className) |
ModuleInfo | findWithSourcePath(Path sourceAbsPath, String sourcePath) |
ModuleInfo | findWithSourcePath(String sourcePath) |
ModuleInfo | findWithURL(URL url) |
ModuleInfo | firstModule() |
String | getCompilationDirectory() |
static ModuleManager | getInstance() For now assumes a single global ModuleManager.
|
void | loadPackageInfo(String packageName) Search for and if needed load the {@link ModuleSet} for a package. |
void | register(String moduleClass, String moduleSource, String moduleUri) Called by compiler-generated code.
|
ModuleInfo | searchWithClassName(String className) |
void | setCompilationDirectory(String path) |