Klasse ProjectEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.ProjectEntry
- Alle implementierten Schnittstellen:
IModulePathEntry
Represents a project
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the module that this entry contributes.char[][]
getModulesDeclaringPackage
(String qualifiedPackageName, String moduleName) Answer the relevant modules that declare the given package.boolean
hasCompilationUnit
(String qualifiedPackageName, String moduleName) Answer whether the given package has any compilation unit (.java or .class) in the given module.boolean
Specifies whether this entry represents an automatic module.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.env.IModulePathEntry
getModule, listPackages, servesModule
-
Konstruktordetails
-
ProjectEntry
-
-
Methodendetails
-
getModule
Beschreibung aus Schnittstelle kopiert:IModulePathEntry
Get the module that this entry contributes. May be null, for instance when this entry does not represent a single module- Angegeben von:
getModule
in SchnittstelleIModulePathEntry
- Gibt zurück:
- The module that this entry contributes or null
-
isAutomaticModule
public boolean isAutomaticModule()Beschreibung aus Schnittstelle kopiert:IModulePathEntry
Specifies whether this entry represents an automatic module.- Angegeben von:
isAutomaticModule
in SchnittstelleIModulePathEntry
- Gibt zurück:
- true if this is an automatic module, false otherwise
-
getModulesDeclaringPackage
Beschreibung aus Schnittstelle kopiert:IModulePathEntry
Answer 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:
getModulesDeclaringPackage
in SchnittstelleIModulePathEntry
-
hasCompilationUnit
Beschreibung aus Schnittstelle kopiert:IModulePathEntry
Answer 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:
hasCompilationUnit
in 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.
-