Klasse ClasspathLocation

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
Alle implementierten Schnittstellen:
FileSystem.Classpath, IModulePathEntry, SuffixConstants
Bekannte direkte Unterklassen:
ClasspathDirectory, ClasspathJar, ClasspathJrt, ClasspathJsr199

public abstract class ClasspathLocation extends Object implements FileSystem.Classpath, SuffixConstants
  • Felddetails

  • Konstruktordetails

    • ClasspathLocation

      protected ClasspathLocation(AccessRuleSet accessRuleSet, String destinationPath)
  • Methodendetails

    • fetchAccessRestriction

      protected AccessRestriction fetchAccessRestriction(String qualifiedBinaryFileName)
      Return the first access rule which is violated when accessing a given type, or null if no 'non accessible' access rule applies.
      Parameter:
      qualifiedBinaryFileName - tested type specification, formed as: "org/aspectj/org/eclipse/jdt/core/JavaCore.class"; on systems that use \ as File.separator, the "org\eclipse\jdt\core\JavaCore.class" is accepted as well
      Gibt zurück:
      the first access rule which is violated when accessing a given type, or null if none applies
    • getMode

      public int getMode()
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • getPath

      public String getPath()
      Beschreibung aus Schnittstelle kopiert: FileSystem.Classpath
      Return the path for file based classpath entries. This is an absolute path ending with a file separator for directories, an absolute path including the '.jar' (resp. '.zip') extension for jar (resp. zip) files.
      Angegeben von:
      getPath in Schnittstelle FileSystem.Classpath
      Gibt zurück:
      the path for file based classpath entries
    • getDestinationPath

      public String getDestinationPath()
      Angegeben von:
      getDestinationPath in Schnittstelle FileSystem.Classpath
    • acceptModule

      public void acceptModule(IModule mod)
      Beschreibung aus Schnittstelle kopiert: FileSystem.Classpath
      Accepts to represent a module location with the given module description.
      Angegeben von:
      acceptModule in Schnittstelle FileSystem.Classpath
      Parameter:
      mod -
    • isAutomaticModule

      public boolean isAutomaticModule()
      Beschreibung aus Schnittstelle kopiert: IModulePathEntry
      Specifies whether this entry represents an automatic module.
      Angegeben von:
      isAutomaticModule in Schnittstelle IModulePathEntry
      Gibt zurück:
      true if this is an automatic module, false otherwise
    • getModuleNames

      public Collection<String> getModuleNames(Collection<String> limitModules)
      Angegeben von:
      getModuleNames in Schnittstelle FileSystem.Classpath
    • getModuleNames

      public Collection<String> getModuleNames(Collection<String> limitModules, Function<String,IModule> getModule)
      Angegeben von:
      getModuleNames in Schnittstelle FileSystem.Classpath
    • selectModules

      protected Collection<String> selectModules(Set<String> modules, Collection<String> limitModules, Function<String,IModule> getModule)
    • allModules

      protected <T> List<String> allModules(Iterable<T> allSystemModules, Function<T,String> getModuleName, Function<T,IModule> getModule)
    • isPackage

      public boolean isPackage(String qualifiedPackageName, String moduleName)
      Angegeben von:
      isPackage in Schnittstelle FileSystem.Classpath
    • singletonModuleNameIf

      protected char[][] singletonModuleNameIf(boolean condition)
    • reset

      public void reset()
      Beschreibung aus Schnittstelle kopiert: FileSystem.Classpath
      This method resets the environment. The resulting state is equivalent to a new name environment without creating a new object.
      Angegeben von:
      reset in Schnittstelle FileSystem.Classpath