Klasse ClasspathLocation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
- Bekannte direkte Unterklassen:
ClasspathDirectory
,ClasspathJar
,ClasspathJrt
,ClasspathSourceDirectory
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected AccessRuleSet
protected ZipFile
protected String
protected IModule
protected String
protected IUpdatableModule.UpdatesByKind
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean
void
cleanup()
void
connectAllLocationsForEEA
(Collection<ClasspathLocation> allLocations, boolean add) protected NameEnvironmentAnswer
createAnswer
(String fileNameWithoutExtension, IBinaryType reader, char[] moduleName) abstract String
protected IBinaryType
decorateWithExternalAnnotations
(IBinaryType reader, String fileNameWithoutExtension) Search within this classpath location for an .eea file describing the given binary type.boolean
NOTE: this method is intended for TESTS onlyfindClass
(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, boolean isOnModulePath, String compliance) static ClasspathLocation
forLibrary
(org.eclipse.core.resources.IFile library, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, 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)
-
Felddetails
-
module
-
updates
-
limitModuleNames
-
patchModuleName
-
externalAnnotationPath
-
annotationZipFile
-
accessRuleSet
-
-
Konstruktordetails
-
ClasspathLocation
public ClasspathLocation()
-
-
Methodendetails
-
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 - Löst aus:
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(org.eclipse.core.resources.IFile library, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, boolean isOnModulePath, String compliance) -
forLibrary
public static ClasspathLocation forLibrary(ZipFile zipFile, AccessRuleSet accessRuleSet, 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() -
decorateWithExternalAnnotations
protected IBinaryType decorateWithExternalAnnotations(IBinaryType reader, String fileNameWithoutExtension) Search 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. -
createAnswer
protected NameEnvironmentAnswer createAnswer(String fileNameWithoutExtension, IBinaryType reader, char[] moduleName) -
connectAllLocationsForEEA
-
externalAnnotationsEquals
NOTE: this method is intended for TESTS only
-