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 Map<String, org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathJar.PackageCacheEntry> 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(SimpleSet 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) protected SimpleSetCalculate and cache the package list available in the zipFile.org.eclipse.core.runtime.IPathbooleanhasCompilationUnit(String pkgName, String moduleName) inthashCode()booleanlongchar[][]protected StringreadJarContent(SimpleSet packageSet) toString()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
-
-
Constructor Details
-
ClasspathJar
-
-
Method Details
-
addToPackageSet
-
findPackageSet
Calculate and cache the package list available in the zipFile.- Returns:
- A SimpleSet with the all the package names in the zipFile.
-
readJarContent
-
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
-