Klasse ClasspathJmod
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJar
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJmod
- Alle implementierten Schnittstellen:
FileSystem.Classpath,IModulePathEntry,SuffixConstants
-
Feldübersicht
FelderVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJar
annotationPaths, annotationZipFile, closeZipFileAtEnd, file, packageCache, zipFileVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
accessRuleSet, BINARY, destinationPath, SOURCEVon Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungClasspathJmod(File file, boolean closeZipFileAtEnd, AccessRuleSet accessRuleSet, String destinationPath) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter) Return a list of the jar file names defined in the Class-Path section of the jar file manifest if any, null else.findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly) char[][][]findTypeNames(String qualifiedPackageName, String moduleName) Get the module that this entry contributes.char[][]getModulesDeclaringPackage(String qualifiedPackageName, String moduleName) Answer the relevant modules that declare the given package.booleanhasAnnotationFileFor(String qualifiedTypeName) Can the current location provide an external annotation file for the given type?booleanhasCompilationUnit(String qualifiedPackageName, String moduleName) Answer whether the given package has any compilation unit (.java or .class) in the given module.toString()Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJar
addToPackageCache, close, ensureOpen, findClass, getMode, getPath, initialize, listPackages, normalizedPath, resetVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
acceptModule, allModules, equals, fetchAccessRestriction, getDestinationPath, getModuleNames, getModuleNames, hashCode, isAutomaticModule, isPackage, selectModules, singletonModuleNameIfVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath
forbidsExportFrom, hasCUDeclaringPackage, hasModuleVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, servesModule
-
Felddetails
-
CLASSES
public static char[] CLASSES -
CLASSES_FOLDER
public static char[] CLASSES_FOLDER
-
-
Konstruktordetails
-
ClasspathJmod
public ClasspathJmod(File file, boolean closeZipFileAtEnd, AccessRuleSet accessRuleSet, String destinationPath)
-
-
Methodendetails
-
fetchLinkedJars
public List<FileSystem.Classpath> fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter) Beschreibung aus Schnittstelle kopiert:FileSystem.ClasspathReturn a list of the jar file names defined in the Class-Path section of the jar file manifest if any, null else. Only ClasspathJar (and extending classes) instances may return a non-null result.- Angegeben von:
fetchLinkedJarsin SchnittstelleFileSystem.Classpath- Setzt außer Kraft:
fetchLinkedJarsin KlasseClasspathJar- Parameter:
problemReporter- problem reporter with which potential misconfiguration issues are raised- Gibt zurück:
- a list of the jar file names defined in the Class-Path section of the jar file manifest if any
-
findClass
public NameEnvironmentAnswer findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly) - Angegeben von:
findClassin SchnittstelleFileSystem.Classpath- Setzt außer Kraft:
findClassin KlasseClasspathJar
-
hasAnnotationFileFor
Beschreibung aus Schnittstelle kopiert:FileSystem.ClasspathCan the current location provide an external annotation file for the given type?- Angegeben von:
hasAnnotationFileForin SchnittstelleFileSystem.Classpath- Setzt außer Kraft:
hasAnnotationFileForin KlasseClasspathJar- Parameter:
qualifiedTypeName- type name in qualified /-separated notation.
-
findTypeNames
- Angegeben von:
findTypeNamesin SchnittstelleFileSystem.Classpath- Setzt außer Kraft:
findTypeNamesin KlasseClasspathJar
-
getModulesDeclaringPackage
Beschreibung aus Schnittstelle kopiert:IModulePathEntryAnswer the relevant modules that declare the given package. If moduleName is ModuleBinding.ANY then all packages are relevant, if moduleName is ModuleBinding.UNNAMED, then only packages in the unnamed module are relevant, otherwise consider only packages in the module identified by moduleName.- Angegeben von:
getModulesDeclaringPackagein SchnittstelleIModulePathEntry- Setzt außer Kraft:
getModulesDeclaringPackagein KlasseClasspathJar
-
hasCompilationUnit
Beschreibung aus Schnittstelle kopiert:IModulePathEntryAnswer whether the given package has any compilation unit (.java or .class) in the given module. For entries representing a single module, the module name should be checked before invoking this method.- Angegeben von:
hasCompilationUnitin SchnittstelleIModulePathEntry- Setzt außer Kraft:
hasCompilationUnitin KlasseClasspathJar- Parameter:
qualifiedPackageName- '/'-separated package namemoduleName- if non-null only CUs attached to the given module should be considered- Gibt zurück:
- true iff a .java or .class file could be found in the given module / package.
-
toString
- Setzt außer Kraft:
toStringin KlasseClasspathJar
-
getModule
Beschreibung aus Schnittstelle kopiert:IModulePathEntryGet the module that this entry contributes. May be null, for instance when this entry does not represent a single module- Angegeben von:
getModulein SchnittstelleIModulePathEntry- Setzt außer Kraft:
getModulein KlasseClasspathJar- Gibt zurück:
- The module that this entry contributes or null
-