Klasse ModulePathEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ModulePathEntry
- Alle implementierten Schnittstellen:
IModulePathEntry
- Bekannte direkte Unterklassen:
ModulePathEntry.Multi
Represents a project on the module path.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classCombines an IMultiModuleEntry with further locations in order to support patch-module. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModulePathEntry(org.eclipse.core.runtime.IPath path, ClasspathLocation location) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, servesModule
-
Konstruktordetails
-
ModulePathEntry
-
-
Methodendetails
-
getPath
public org.eclipse.core.runtime.IPath getPath() -
getClasspathLocations
-
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- Gibt zurück:
- The module that this entry contributes or null
-
isAutomaticModule
public boolean isAutomaticModule()Beschreibung aus Schnittstelle kopiert:IModulePathEntrySpecifies whether this entry represents an automatic module.- Angegeben von:
isAutomaticModulein SchnittstelleIModulePathEntry- Gibt zurück:
- true if this is an automatic module, false otherwise
-
getAutomaticModule
-
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
-
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- 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.
-
listPackages
public char[][] listPackages()Beschreibung aus Schnittstelle kopiert:IModulePathEntryLists all packages in this modulepath entry.- Angegeben von:
listPackagesin SchnittstelleIModulePathEntry- Gibt zurück:
- array of flat, dot-separated package names
-