Klasse ClasspathJrt
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJrt
- Alle implementierten Schnittstellen:
IModulePathEntry,IMultiModuleEntry
- Bekannte direkte Unterklassen:
ClasspathJrtWithReleaseOption
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
accessRuleSet, annotationZipFile, externalAnnotationPath, limitModuleNames, module, patchModuleName, updates -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedClasspathJrt(String zipFilename, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidaddRequired(String mod, Set<String> allModules) voidcleanup()booleanfindClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) protected StringgetKey()getModule(char[] moduleName) Get the module named name that this entry contributes to the module pathgetModuleNames(Collection<String> limitModules) Get the names of all modules served by this entry.char[][]getModulesDeclaringPackage(String qualifiedPackageName, String moduleName) Answer the relevant modules that declare the given package.org.eclipse.core.runtime.IPathbooleanhasCompilationUnit(String qualifiedPackageName, String moduleName) Answer whether the given package has any compilation unit (.java or .class) in the given module.inthashCode()booleanbooleanstatic voidloadModules(ClasspathJrt jrt) static voidTEST ONLYprotected Collection<String>selectModules(Set<String> keySet, Collection<String> limitModules) toString()Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
areAllModuleOptionsEqual, connectAllLocationsForEEA, createAnswer, decorateWithExternalAnnotations, externalAnnotationsEquals, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, forLibrary, getModule, isOutputFolder, listPackages, reset, setModule, singletonModuleNameIfVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, isAutomaticModule, listPackages, servesModule
-
Felddetails
-
PackageCache
-
ModulesCache
-
-
Konstruktordetails
-
ClasspathJrt
protected ClasspathJrt() -
ClasspathJrt
public ClasspathJrt(String zipFilename, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath)
-
-
Methodendetails
-
loadModules
-
getKey
-
cleanup
public void cleanup()- Setzt außer Kraft:
cleanupin KlasseClasspathLocation
-
equals
-
findClass
public NameEnvironmentAnswer findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) - Angegeben von:
findClassin KlasseClasspathLocation
-
getProjectRelativePath
public org.eclipse.core.runtime.IPath getProjectRelativePath()- Angegeben von:
getProjectRelativePathin KlasseClasspathLocation
-
hashCode
public int hashCode() -
getModulesDeclaringPackage
Beschreibung aus Schnittstelle kopiert:IModulePathEntryAnswer the relevant modules that declare the given package. If moduleName is ModuleBinding.ANY then all packages are relevant, if moduleName is ModuleBinding.UNNAMED, then only packages in the unnamed module are relevant, otherwise consider only packages in the module identified by moduleName.- Angegeben von:
getModulesDeclaringPackagein SchnittstelleIModulePathEntry- Setzt außer Kraft:
getModulesDeclaringPackagein KlasseClasspathLocation
-
hasCompilationUnit
Beschreibung aus Schnittstelle kopiert:IModulePathEntryAnswer whether the given package has any compilation unit (.java or .class) in the given module. For entries representing a single module, the module name should be checked before invoking this method.- Angegeben von:
hasCompilationUnitin SchnittstelleIModulePathEntry- Angegeben von:
hasCompilationUnitin KlasseClasspathLocation- Parameter:
qualifiedPackageName- '/'-separated package namemoduleName- if non-null only CUs attached to the given module should be considered- Gibt zurück:
- true iff a .java or .class file could be found in the given module / package.
-
isPackage
- Angegeben von:
isPackagein KlasseClasspathLocation
-
toString
-
debugPathString
- Angegeben von:
debugPathStringin KlasseClasspathLocation
-
findClass
public NameEnvironmentAnswer findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) - Setzt außer Kraft:
findClassin KlasseClasspathLocation
-
hasModule
public boolean hasModule()- Setzt außer Kraft:
hasModulein KlasseClasspathLocation
-
getModule
Beschreibung aus Schnittstelle kopiert:IMultiModuleEntryGet the module named name that this entry contributes to the module path- Angegeben von:
getModulein SchnittstelleIModulePathEntry- Angegeben von:
getModulein SchnittstelleIMultiModuleEntry- Parameter:
moduleName- - The name of the module to look up- Gibt zurück:
- The module named name or null
-
getModule
-
getModuleNames
Beschreibung aus Schnittstelle kopiert:IMultiModuleEntryGet the names of all modules served by this entry.- Angegeben von:
getModuleNamesin SchnittstelleIMultiModuleEntry- Parameter:
limitModules- if non-null, only modules with names in this set and their transitive closure will be reported.
-
selectModules
-
addRequired
-
findClass
public NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) - Angegeben von:
findClassin KlasseClasspathLocation
-
resetCaches
public static void resetCaches()TEST ONLY
-