public class ClasspathJrtWithReleaseOption extends ClasspathJrt
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
modulePath |
protected java.nio.file.Path |
releasePath |
annotationZipFile, ModulesCache, PackageCachelimitModuleNames, module, patchModuleName, updates| Constructor and Description |
|---|
ClasspathJrtWithReleaseOption(java.lang.String zipFilename,
AccessRuleSet accessRuleSet,
IPath externalAnnotationPath,
java.lang.String release) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
boolean |
equals(java.lang.Object o) |
NameEnvironmentAnswer |
findClass(java.lang.String binaryFileName,
java.lang.String qualifiedPackageName,
java.lang.String moduleName,
java.lang.String qualifiedBinaryFileName,
boolean asBinaryOnly,
java.util.function.Predicate<java.lang.String> moduleNameFilter) |
protected java.lang.String |
getKey() |
java.util.Collection<java.lang.String> |
getModuleNames(java.util.Collection<java.lang.String> limitModules)
Get the names of all modules served by this entry.
|
int |
hashCode() |
boolean |
hasModule() |
protected void |
initialize() |
static void |
loadModules(ClasspathJrtWithReleaseOption jrt) |
java.lang.String |
toString() |
addRequired, createAnswer, debugPathString, findClass, findClass, getModule, getModulesDeclaringPackage, getProjectRelativePath, hasCompilationUnit, isPackage, loadModules, resetCaches, selectModulesareAllModuleOptionsEqual, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, getModule, isOutputFolder, listPackages, reset, setModule, singletonModuleNameIfclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetModule, isAutomaticModule, listPackages, servesModuleprotected java.nio.file.Path releasePath
protected java.nio.file.Path modulePath
public ClasspathJrtWithReleaseOption(java.lang.String zipFilename,
AccessRuleSet accessRuleSet,
IPath externalAnnotationPath,
java.lang.String release)
throws CoreException
CoreExceptionprotected void initialize()
throws CoreException
CoreExceptionpublic static void loadModules(ClasspathJrtWithReleaseOption jrt)
public NameEnvironmentAnswer findClass(java.lang.String binaryFileName, java.lang.String qualifiedPackageName, java.lang.String moduleName, java.lang.String qualifiedBinaryFileName, boolean asBinaryOnly, java.util.function.Predicate<java.lang.String> moduleNameFilter)
findClass in class ClasspathJrtpublic java.util.Collection<java.lang.String> getModuleNames(java.util.Collection<java.lang.String> limitModules)
IMultiModuleEntrygetModuleNames in interface IMultiModuleEntrygetModuleNames in class ClasspathJrtlimitModules - if non-null, only modules with names in this set and their
transitive closure will be reported.public void cleanup()
cleanup in class ClasspathJrtpublic boolean hasModule()
hasModule in class ClasspathJrtprotected java.lang.String getKey()
getKey in class ClasspathJrtpublic boolean equals(java.lang.Object o)
equals in class ClasspathJrtpublic int hashCode()
hashCode in class ClasspathJrtpublic java.lang.String toString()
toString in class ClasspathJrt