Class ClasspathLocation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
- Direct Known Subclasses:
ClasspathDirectory
,ClasspathJar
,ClasspathJrt
,ClasspathSourceDirectory
-
Field Summary
Modifier and TypeFieldDescriptionprotected IModule
protected String
protected IUpdatableModule.UpdatesByKind
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
cleanup()
abstract String
findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
abstract NameEnvironmentAnswer
findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName)
abstract NameEnvironmentAnswer
findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
static ClasspathLocation
forBinaryFolder(org.eclipse.core.resources.IContainer binaryFolder, boolean isOutputFolder, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean autoModule)
static ClasspathJrt
forJrtSystem(String jrtPath, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, String release)
static ClasspathLocation
forLibrary(String libraryPathname, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, boolean isOnModulePath, String compliance)
static ClasspathLocation
forLibrary(ZipFile zipFile, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath, String compliance)
char[][]
getModulesDeclaringPackage(String qualifiedPackageName, String moduleName)
abstract org.eclipse.core.runtime.IPath
abstract boolean
hasCompilationUnit(String pkgName, String moduleName)
boolean
boolean
abstract boolean
char[][]
void
reset()
void
char[][]
singletonModuleNameIf(boolean condition)
-
Field Details
-
module
-
updates
-
limitModuleNames
-
patchModuleName
-
-
Constructor Details
-
ClasspathLocation
public ClasspathLocation()
-
-
Method Details
-
findClass
public abstract NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) -
findClass
-
isPackage
-
getModulesDeclaringPackage
-
hasModule
public boolean hasModule() -
hasCompilationUnit
-
findClass
-
setModule
-
getModule
-
areAllModuleOptionsEqual
-
forBinaryFolder
public static ClasspathLocation forBinaryFolder(org.eclipse.core.resources.IContainer binaryFolder, boolean isOutputFolder, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean autoModule) -
forJrtSystem
public static ClasspathJrt forJrtSystem(String jrtPath, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, String release) throws org.eclipse.core.runtime.CoreException- Throws:
org.eclipse.core.runtime.CoreException
-
forLibrary
public static ClasspathLocation forLibrary(String libraryPathname, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, boolean isOnModulePath, String compliance) -
forLibrary
public static ClasspathLocation forLibrary(ZipFile zipFile, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean isOnModulePath, String compliance) -
getProjectRelativePath
public abstract org.eclipse.core.runtime.IPath getProjectRelativePath() -
isOutputFolder
public boolean isOutputFolder() -
cleanup
public void cleanup() -
reset
public void reset() -
debugPathString
-
singletonModuleNameIf
public char[][] singletonModuleNameIf(boolean condition) -
listPackages
public char[][] listPackages()
-