Class ClasspathJep247Jdk12
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJrt
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJep247
org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJep247Jdk12
- All Implemented Interfaces:
FileSystem.Classpath,IModulePathEntry,IMultiModuleEntry,SuffixConstants
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJep247
compliance, fs, jdkHome, jdklevel, modulePath, packageCache, releaseInHex, releasePath, subReleasesFields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJrt
annotationPaths, annotationZipFile, closeZipFileAtEnd, file, moduleNamesCache, ModulesCacheFields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
accessRuleSet, BINARY, destinationPath, SOURCEFields inherited from interface 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 -
Constructor Summary
ConstructorsConstructorDescriptionClasspathJep247Jdk12(File jdkHome, String release, AccessRuleSet accessRuleSet) -
Method Summary
Modifier and TypeMethodDescriptionfetchLinkedJars(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) findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly) getModule(char[] moduleName) Get the module named name from this entry.getModuleNames(Collection<String> limitModule, Function<String, IModule> getModule) char[][]getModulesDeclaringPackage(String qualifiedPackageName, String moduleName) Answer the relevant modules that declare the given package.voidInitialize the entryvoidMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJep247
addToPackageCache, forbidsExportFrom, getMode, getPath, normalizedPath, toStringMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathJrt
addTypeName, allModules, clearCache, findTypeNames, hasAnnotationFileFor, hasCompilationUnit, hasModule, maybeDecorateForExternalAnnotations, reset, servesModuleMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.ClasspathLocation
acceptModule, equals, fetchAccessRestriction, getDestinationPath, getModuleNames, hashCode, isAutomaticModule, isPackage, selectModules, singletonModuleNameIfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.batch.FileSystem.Classpath
hasCUDeclaringPackageMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, isAutomaticModule, listPackagesMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IMultiModuleEntry
getModuleNames
-
Constructor Details
-
ClasspathJep247Jdk12
-
-
Method Details
-
fetchLinkedJars
public List<FileSystem.Classpath> fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter) Description copied from interface: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.- Specified by:
fetchLinkedJarsin interfaceFileSystem.Classpath- Overrides:
fetchLinkedJarsin classClasspathJep247- Parameters:
problemReporter- problem reporter with which potential misconfiguration issues are raised- Returns:
- 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) - Specified by:
findClassin interfaceFileSystem.Classpath- Overrides:
findClassin classClasspathJep247
-
findClass
public NameEnvironmentAnswer findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly) - Specified by:
findClassin interfaceFileSystem.Classpath- Overrides:
findClassin classClasspathJep247
-
initialize
Description copied from interface:FileSystem.ClasspathInitialize the entry- Specified by:
initializein interfaceFileSystem.Classpath- Overrides:
initializein classClasspathJep247- Throws:
IOException
-
loadModules
public void loadModules()- Overrides:
loadModulesin classClasspathJep247
-
getModuleNames
public Collection<String> getModuleNames(Collection<String> limitModule, Function<String, IModule> getModule) - Specified by:
getModuleNamesin interfaceFileSystem.Classpath- Overrides:
getModuleNamesin classClasspathJrt
-
getModule
Description copied from interface:IModulePathEntryGet the module named name from this entry. May be null- Specified by:
getModulein interfaceIModulePathEntry- Specified by:
getModulein interfaceIMultiModuleEntry- Overrides:
getModulein classClasspathJrt- Parameters:
moduleName- - The name of the module to look up- Returns:
- The module named name or null
-
getModulesDeclaringPackage
Description copied from interface: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.- Specified by:
getModulesDeclaringPackagein interfaceIModulePathEntry- Overrides:
getModulesDeclaringPackagein classClasspathJep247
-