Klasse ClasspathLocation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
- Bekannte direkte Unterklassen:
ClasspathDirectory,ClasspathJar,ClasspathJrt,ClasspathSourceDirectory
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected AccessRuleSetprotected ZipFileprotected Stringprotected IModuleprotected Stringprotected IUpdatableModule.UpdatesByKind -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanvoidcleanup()voidconnectAllLocationsForEEA(Collection<ClasspathLocation> allLocations, boolean add) protected NameEnvironmentAnswercreateAnswer(String fileNameWithoutExtension, IBinaryType reader, char[] moduleName) abstract Stringprotected IBinaryTypedecorateWithExternalAnnotations(IBinaryType reader, String fileNameWithoutExtension) Search within this classpath location for an .eea file describing the given binary type.booleanNOTE: this method is intended for TESTS onlyfindClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) abstract NameEnvironmentAnswerfindClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName) abstract NameEnvironmentAnswerfindClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter) static ClasspathLocationforBinaryFolder(org.eclipse.core.resources.IContainer binaryFolder, boolean isOutputFolder, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath externalAnnotationPath, boolean autoModule) static ClasspathJrtforJrtSystem(String jrtPath, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, String release) static ClasspathLocationforLibrary(String libraryPathname, AccessRuleSet accessRuleSet, org.eclipse.core.runtime.IPath annotationsPath, boolean isOnModulePath, String compliance) static ClasspathLocationforLibrary(ZipFile zipFile, AccessRuleSet accessRuleSet, boolean isOnModulePath, String compliance) static ClasspathLocationforLibrary(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.IPathabstract booleanhasCompilationUnit(String pkgName, String moduleName) booleanbooleanabstract booleanchar[][]voidreset()voidchar[][]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
-