public abstract class ModularizedJdkClassLocator extends ModularizedJdkBaseLocator
ModularizedJdkBaseLocator.ClassDetails_lastModified, _moduleInfoURLs, _moduleNames, _packageMapEMPTY_COLLECTION, EMPTY_LOCATOR, EMPTY_STRING_ARRAY| Constructor and Description |
|---|
ModularizedJdkClassLocator() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getClassModuleInfoURL(java.lang.String moduleName)
Fetch the module-info.class URL of the given module.
|
java.net.URL |
getClassModuleInfoURLInterruptibly(java.lang.String moduleName)
Fetch the module-info.class URL of the given module.
|
abstract URLPath |
getClassPath()
Get the URL of the root of class file directories of all modules.
|
java.net.URL |
getClassURL(java.lang.String fqClassName)
Fetch the URL for the JavaFile for the given fully-qualified Java class
name.
|
java.net.URL |
getClassURLInterruptibly(java.lang.String fqClassName)
Fetch the URL for the JavaFile for the given fully-qualified Java class
name.
|
abstract URLPath |
getExpandedClassPath()
Get the expanded class path, which is the list of about 100 or more .jmod files in the JDK.
|
URLPath |
getModulePath()
Deprecated.
Use
getClassPath() instead |
protected java.net.URL |
getURLImpl(java.lang.String fqClassName)
Get the URL of a class.
|
buildIndex, buildIndexImpl, buildIndexInterruptibly, getAllClasses, getAllClassesInterruptibly, getAllModules, getAllModulesImpl, getAllModulesInterruptibly, getAllPackages, getAllPackagesInterruptibly, getBytes, getClassesDirectly, getClassesInPackage, getClassesInPackageInterruptibly, getLength, getLengthForClass, getLocatorType, getModuleIndexForClass, getModuleInfoURL, getModuleName, getModuleNameOfClass, getModuleNameOfClassInterruptibly, getPackages, getPackagesInterruptibly, getResourceURL, getSourceURL, getSourceURLInterruptibly, getURL, getURLInterruptibly, getUrlLocatorFilePath, indexClassMaps, isLocal, packageExistsaddToCollection, buildFQName, checkInterrupt, ensureValid, getAllClasses, getAllClasses, getAllClassesInterruptibly, getAllClassesInterruptibly, getAllPackages, getAllPackages, getAllPackagesInterruptibly, getAllPackagesInterruptibly, getChildLocators, getClassesByName, getClassesByNameInterruptibly, getClassesByPrefix, getClassesByPrefixInterruptibly, getClassesInPackage, getClassesInPackageInterruptibly, getClasspathTreeNode, getContainsModuleClasses, getNameCascades, getNameParts, getPackages, getPackagesInterruptibly, getResourcesDirectly, getResourceURLs, getSourceLocator, getStringArray, setContainsModuleClasses, visitClasspathTree, visitClasspathTree, visitJavaTypes, visitJavaTypes, visitResources, visitResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSourceModuleInfoURLInterruptiblygetSourceModuleInfoURL@Deprecated public URLPath getModulePath()
getClassPath() insteadpublic abstract URLPath getClassPath()
public java.net.URL getClassModuleInfoURL(java.lang.String moduleName)
moduleName - A module namepublic java.net.URL getClassModuleInfoURLInterruptibly(java.lang.String moduleName)
throws java.lang.InterruptedException
moduleName - A module namejava.lang.InterruptedException - if the operation is interruptedpublic java.net.URL getClassURL(java.lang.String fqClassName)
getClassURL in interface JavaClassLocatorgetClassURL in interface JavaResourceLocatorgetClassURL in class ModularizedJdkBaseLocatorfqClassName - the fully-qualified class name in dotted notation, e.g. java.util.Listpublic java.net.URL getClassURLInterruptibly(java.lang.String fqClassName)
throws java.lang.InterruptedException
getClassURLInterruptibly in interface JavaClassLocator2getClassURLInterruptibly in class ModularizedJdkBaseLocatorfqClassName - the fully-qualified class name in dotted notation, e.g. java.util.Listjava.lang.InterruptedException - if the operation is interruptedprotected java.net.URL getURLImpl(java.lang.String fqClassName)
getURLImpl in class ModularizedJdkBaseLocatorfqClassName - the fully-qualified class name in dotted notation, i.e., java.util.Listpublic abstract URLPath getExpandedClassPath()