Class ClasspathJar
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJar
- Direct Known Subclasses:
ClasspathJMod,ClasspathMultiReleaseJar
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map<String, org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJar.PackageCacheEntry> protected ZipFilelazy initialized, closed and reset to null incleanup()Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
accessRuleSet, annotationZipFile, externalAnnotationPath, limitModuleNames, module, patchModuleName, updates -
Constructor Summary
ConstructorsConstructorDescriptionClasspathJar(ZipFile zipFile, AccessRuleSet accessRuleSet, boolean isOnModulePath) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddToPackageSet(Set<String> packageSet, String fileName, boolean endsWithSep) voidcleanup()protected IBinaryTypedecorateWithExternalAnnotations(IBinaryType reader, String fileNameWithoutExtension) Search within this classpath location for an .eea file describing the given binary type.booleanfindClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) org.eclipse.core.runtime.IPathbooleanhasCompilationUnit(String pkgName, String moduleName) inthashCode()booleanlongchar[][]overloadedtoString()Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
areAllModuleOptionsEqual, connectAllLocationsForEEA, createAnswer, externalAnnotationsEquals, findClass, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, forLibrary, getModulesDeclaringPackage, hasModule, isOutputFolder, reset, setModule, singletonModuleNameIf
-
Field Details
-
packageCache
-
zipFile
-
-
Constructor Details
-
ClasspathJar
-
-
Method Details
-
addToPackageSet
-
readPackageNames
-
cleanup
public void cleanup()- Overrides:
cleanupin classClasspathLocation
-
equals
-
findClass
public NameEnvironmentAnswer findClass(String binaryFileName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) - Specified by:
findClassin classClasspathLocation
-
getProjectRelativePath
public org.eclipse.core.runtime.IPath getProjectRelativePath()- Specified by:
getProjectRelativePathin classClasspathLocation
-
hashCode
-
isPackage
- Specified by:
isPackagein classClasspathLocation
-
hasCompilationUnit
- Specified by:
hasCompilationUnitin classClasspathLocation
-
lastModified
public long lastModified() -
toString
-
debugPathString
- Specified by:
debugPathStringin classClasspathLocation
-
getModule
- Overrides:
getModulein classClasspathLocation
-
findClass
public NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) - Specified by:
findClassin classClasspathLocation
-
getManifest
-
listPackages
public char[][] listPackages()- Overrides:
listPackagesin classClasspathLocation
-
decorateWithExternalAnnotations
protected IBinaryType decorateWithExternalAnnotations(IBinaryType reader, String fileNameWithoutExtension) Description copied from class:ClasspathLocationSearch within this classpath location for an .eea file describing the given binary type. If .eea is found return a eea-decorated binary type (of type ExternalAnnotationDecorator), else return the original type unchanged. This method is used only when the project is configured to search all locations for .eea.- Overrides:
decorateWithExternalAnnotationsin classClasspathLocation
-