Klasse ClasspathLocation

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ClasspathLocation
Bekannte direkte Unterklassen:
ClasspathDirectory, ClasspathJar, ClasspathJrt, ClasspathSourceDirectory

public abstract class ClasspathLocation extends Object
  • Felddetails

  • Konstruktordetails

    • ClasspathLocation

      public ClasspathLocation()
  • Methodendetails

    • findClass

      public abstract NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName)
    • findClass

      public abstract NameEnvironmentAnswer findClass(String typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
    • isPackage

      public abstract boolean isPackage(String qualifiedPackageName, String moduleName)
    • getModulesDeclaringPackage

      public char[][] getModulesDeclaringPackage(String qualifiedPackageName, String moduleName)
    • hasModule

      public boolean hasModule()
    • hasCompilationUnit

      public abstract boolean hasCompilationUnit(String pkgName, String moduleName)
    • findClass

      public NameEnvironmentAnswer findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly, Predicate<String> moduleNameFilter)
    • setModule

      public void setModule(IModule mod)
    • getModule

      public IModule getModule()
    • areAllModuleOptionsEqual

      protected boolean areAllModuleOptionsEqual(ClasspathLocation other)
    • 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

      public abstract String 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

      public void connectAllLocationsForEEA(Collection<ClasspathLocation> allLocations, boolean add)
    • externalAnnotationsEquals

      public boolean externalAnnotationsEquals(ClasspathLocation other)
      NOTE: this method is intended for TESTS only