public class ClasspathJmod extends ClasspathJar
| Modifier and Type | Field and Description |
|---|---|
static char[] |
CLASSES |
static char[] |
CLASSES_FOLDER |
annotationPaths, annotationZipFile, closeZipFileAtEnd, file, packageCache, zipFileaccessRuleSet, BINARY, destinationPath, SOURCEEXTENSION_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| Constructor and Description |
|---|
ClasspathJmod(java.io.File file,
boolean closeZipFileAtEnd,
AccessRuleSet accessRuleSet,
java.lang.String destinationPath) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<FileSystem.Classpath> |
fetchLinkedJars(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.
|
NameEnvironmentAnswer |
findClass(char[] typeName,
java.lang.String qualifiedPackageName,
java.lang.String moduleName,
java.lang.String qualifiedBinaryFileName,
boolean asBinaryOnly) |
char[][][] |
findTypeNames(java.lang.String qualifiedPackageName,
java.lang.String moduleName) |
IModule |
getModule()
Get the module that this entry contributes.
|
char[][] |
getModulesDeclaringPackage(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
Answer the relevant modules that declare the given package.
|
boolean |
hasAnnotationFileFor(java.lang.String qualifiedTypeName)
Can the current location provide an external annotation file for the given type?
|
boolean |
hasCompilationUnit(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
Answer whether the given package has any compilation unit (.java or .class) in the given module.
|
java.lang.String |
toString() |
addToPackageCache, close, findClass, getMode, getPath, initialize, listPackages, normalizedPath, resetacceptModule, allModules, equals, fetchAccessRestriction, getDestinationPath, getModuleNames, getModuleNames, hashCode, isAutomaticModule, isPackage, selectModules, singletonModuleNameIfclone, finalize, getClass, notify, notifyAll, wait, wait, waithasCUDeclaringPackage, hasModulegetModule, servesModulepublic static char[] CLASSES
public static char[] CLASSES_FOLDER
public ClasspathJmod(java.io.File file,
boolean closeZipFileAtEnd,
AccessRuleSet accessRuleSet,
java.lang.String destinationPath)
public java.util.List<FileSystem.Classpath> fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter)
FileSystem.ClasspathfetchLinkedJars in interface FileSystem.ClasspathfetchLinkedJars in class ClasspathJarproblemReporter - problem reporter with which potential
misconfiguration issues are raisedpublic NameEnvironmentAnswer findClass(char[] typeName, java.lang.String qualifiedPackageName, java.lang.String moduleName, java.lang.String qualifiedBinaryFileName, boolean asBinaryOnly)
findClass in interface FileSystem.ClasspathfindClass in class ClasspathJarpublic boolean hasAnnotationFileFor(java.lang.String qualifiedTypeName)
FileSystem.ClasspathhasAnnotationFileFor in interface FileSystem.ClasspathhasAnnotationFileFor in class ClasspathJarqualifiedTypeName - type name in qualified /-separated notation.public char[][][] findTypeNames(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
findTypeNames in interface FileSystem.ClasspathfindTypeNames in class ClasspathJarpublic char[][] getModulesDeclaringPackage(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
IModulePathEntrygetModulesDeclaringPackage in interface IModulePathEntrygetModulesDeclaringPackage in class ClasspathJarpublic boolean hasCompilationUnit(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
IModulePathEntryhasCompilationUnit in interface IModulePathEntryhasCompilationUnit in class ClasspathJarqualifiedPackageName - '/'-separated package namemoduleName - if non-null only CUs attached to the given module should be consideredpublic java.lang.String toString()
toString in class ClasspathJarpublic IModule getModule()
IModulePathEntrygetModule in interface IModulePathEntrygetModule in class ClasspathJar