Class ClasspathJrtWithReleaseOption
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrt
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrtWithReleaseOption
- All Implemented Interfaces:
IModulePathEntry
,IMultiModuleEntry
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrt
ModulesCache, PackageCache
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
accessRuleSet, annotationZipFile, externalAnnotationPath, limitModuleNames, module, patchModuleName, updates
-
Constructor Summary
ConstructorDescriptionClasspathJrtWithReleaseOption(String zipFilename, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, String release)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
boolean
findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
protected String
getKey()
getModuleNames(Collection<String> limitModules)
Get the names of all modules served by this entry.int
hashCode()
boolean
protected void
Set up the paths where modules and regular classes need to be read.void
toString()
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrt
addRequired, debugPathString, findClass, findClass, getModule, getModule, getModulesDeclaringPackage, getProjectRelativePath, hasCompilationUnit, isPackage, loadModules, resetCaches, selectModules
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
areAllModuleOptionsEqual, connectAllLocationsForEEA, createAnswer, decorateWithExternalAnnotations, externalAnnotationsEquals, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, forLibrary, getModule, isOutputFolder, listPackages, reset, setModule, singletonModuleNameIf
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, isAutomaticModule, listPackages, servesModule
-
Field Details
-
releasePath
-
modulePath
-
-
Constructor Details
-
ClasspathJrtWithReleaseOption
public ClasspathJrtWithReleaseOption(String zipFilename, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, String release) throws org.eclipse.core.runtime.CoreException- Throws:
org.eclipse.core.runtime.CoreException
-
-
Method Details
-
initialize
protected void initialize() throws org.eclipse.core.runtime.CoreExceptionSet up the paths where modules and regular classes need to be read. We need to deal with two different kind of formats of cy.sym, seeCtSym
javadoc.- Throws:
org.eclipse.core.runtime.CoreException
- See Also:
CtSym
-
loadModules
public void loadModules() -
findClass
public NameEnvironmentAnswer findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)- Overrides:
findClass
in classClasspathJrt
-
getModuleNames
Description copied from interface:IMultiModuleEntry
Get the names of all modules served by this entry.- Specified by:
getModuleNames
in interfaceIMultiModuleEntry
- Overrides:
getModuleNames
in classClasspathJrt
- Parameters:
limitModules
- if non-null, only modules with names in this set and their transitive closure will be reported.
-
cleanup
public void cleanup()- Overrides:
cleanup
in classClasspathJrt
-
hasModule
public boolean hasModule()- Overrides:
hasModule
in classClasspathJrt
-
getKey
- Overrides:
getKey
in classClasspathJrt
-
equals
- Overrides:
equals
in classClasspathJrt
-
hashCode
public int hashCode()- Overrides:
hashCode
in classClasspathJrt
-
toString
- Overrides:
toString
in classClasspathJrt
-