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
FieldsFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrt
ModulesCache, PackageCacheFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
accessRuleSet, annotationZipFile, externalAnnotationPath, limitModuleNames, module, patchModuleName, updates -
Constructor Summary
ConstructorsConstructorDescriptionClasspathJrtWithReleaseOption(String zipFilename, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, String release) -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()booleanfindClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) protected StringgetKey()getModuleNames(Collection<String> limitModules) Get the names of all modules served by this entry.inthashCode()booleanprotected voidSet up the paths where modules and regular classes need to be read.voidtoString()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, selectModulesMethods 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, singletonModuleNameIfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, seeCtSymjavadoc.- Throws:
org.eclipse.core.runtime.CoreException- See Also:
-
loadModules
public void loadModules() -
findClass
public NameEnvironmentAnswer findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) - Overrides:
findClassin classClasspathJrt
-
getModuleNames
Description copied from interface:IMultiModuleEntryGet the names of all modules served by this entry.- Specified by:
getModuleNamesin interfaceIMultiModuleEntry- Overrides:
getModuleNamesin 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:
cleanupin classClasspathJrt
-
hasModule
public boolean hasModule()- Overrides:
hasModulein classClasspathJrt
-
getKey
- Overrides:
getKeyin classClasspathJrt
-
equals
- Overrides:
equalsin classClasspathJrt
-
hashCode
public int hashCode()- Overrides:
hashCodein classClasspathJrt
-
toString
- Overrides:
toStringin classClasspathJrt
-