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 SimpleLookupTableprotected static SimpleLookupTableFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
limitModuleNames, module, patchModuleName, updates -
Constructor Summary
ConstructorsConstructorDescriptionClasspathJar(String fileName, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath)ClasspathJar(ZipFile zipFile, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddToPackageSet(SimpleSet packageSet, String fileName, boolean endsWithSep)voidcleanup()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, findClass, forBinaryFolder, forJrtSystem, forLibrary, forLibrary, getModulesDeclaringPackage, hasModule, isOutputFolder, reset, setModule, singletonModuleNameIf
-
Field Details
-
PackageCache
-
ModuleCache
-
-
Constructor Details
-
ClasspathJar
public ClasspathJar(ZipFile zipFile, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath) -
ClasspathJar
public ClasspathJar(String fileName, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath)
-
-
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
public int 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
-