Class ModulePathEntry.Multi
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ModulePathEntry
org.aspectj.org.eclipse.jdt.internal.core.builder.ModulePathEntry.Multi
- All Implemented Interfaces:
IModulePathEntry, IMultiModuleEntry
- Enclosing class:
ModulePathEntry
Combines an IMultiModuleEntry with further locations in order to support patch-module.
Implemented by adding IMultiModuleEntry functionality to ModulePathEntry.
-
Nested Class Summary
Nested classes/interfaces inherited from class ModulePathEntry
ModulePathEntry.MultiModifier and TypeClassDescriptionstatic classCombines an IMultiModuleEntry with further locations in order to support patch-module. -
Method Summary
Modifier and TypeMethodDescriptiongetModule(char[] name) Get the module named name from this entry.getModuleNames(Collection<String> limitModules) Get the names of all modules served by this entry.Methods inherited from class ModulePathEntry
getAutomaticModule, getClasspathLocations, getModule, getModulesDeclaringPackage, getPath, hasCompilationUnit, isAutomaticModule, listPackagesModifier and TypeMethodDescriptionstatic IModulegetAutomaticModule(ClasspathLocation location) Get the module that this entry contributes.char[][]getModulesDeclaringPackage(String qualifiedPackageName, String moduleName) Answer the relevant modules that declare the given package.org.eclipse.core.runtime.IPathgetPath()booleanhasCompilationUnit(String qualifiedPackageName, String moduleName) Answer whether the given package has any compilation unit (.java or .class) in the given module.booleanSpecifies whether this entry represents an automatic module.char[][]Lists all packages in this modulepath entry.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IModulePathEntry
servesModuleModifier and TypeMethodDescriptiondefault booleanservesModule(char[] name) Indicates whether this entry knows the module named name and can answer queries regarding the module
-
Method Details
-
getModule
Description copied from interface:IModulePathEntryGet the module named name from this entry. May be null- Specified by:
getModulein interfaceIModulePathEntry- Specified by:
getModulein interfaceIMultiModuleEntry- Parameters:
name- - The name of the module to look up- Returns:
- The module named name or null
-
getModuleNames
Description copied from interface:IMultiModuleEntryGet the names of all modules served by this entry.- Specified by:
getModuleNamesin interfaceIMultiModuleEntry- Parameters:
limitModules- if non-null, only modules with names in this set and their transitive closure will be reported.
-