gnu.expr
public class ModuleInfo extends Object
| Field Summary | |
|---|---|
| String | className Name of class that implements module.
|
| long | lastCheckedTime |
| long | lastModifiedTime |
| Class | moduleClass |
| String | sourcePath Location of source for module, if known.
|
| Method Summary | |
|---|---|
| static Path | absPath(String path) |
| void | addDependency(ModuleInfo dep) |
| boolean | checkCurrent(ModuleManager manager, long now) Check if this module and its dependencies are up-to-dete.
|
| void | clearClass() |
| static ModuleInfo | find(String className) |
| static ModuleInfo | find(Type type) |
| static ModuleInfo | findFromInstance(Object instance) |
| ClassType | getClassType() |
| Compilation | getCompilation() |
| Object | getInstance() |
| Class | getModuleClass() |
| ModuleExp | getModuleExp() |
| String | getNamespaceUri() The namespace URI associated with this module, or {@code null}.
|
| Object | getRunInstance() |
| Path | getSourceAbsPath() |
| String | getSourceAbsPathname() |
| int | getState() |
| void | loadByStages(int wantedState) |
| boolean | loadEager(int wantedState) Eagerly process the module and dependencies. |
| ModuleInfo | nextModule() Next element in list head by modules. |
| static void | register(Object instance) |
| void | setCompilation(Compilation comp) |
| void | setNamespaceUri(String uri) |
| void | setSourceAbsPath(Path path) |
| ModuleExp | setupModuleExp() If module has LAZY_DECLARATIONS, fix that. |
| String | toString() |
Returns: true on success; false if we were unable to because of an error or a cyclic dependency.