public class ProjectEntry extends java.lang.Object implements IModulePathEntry
| Constructor and Description |
|---|
ProjectEntry(JavaProject project) |
| Modifier and Type | Method and Description |
|---|---|
IModule |
getModule()
Get the module that this entry contributes.
|
char[][] |
getModulesDeclaringPackage(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
Answer the relevant modules that declare the given package.
|
boolean |
hasCompilationUnit(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
Answer whether the given package has any compilation unit (.java or .class) in the given module.
|
boolean |
isAutomaticModule()
Specifies whether this entry represents an automatic module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModule, listPackages, servesModulepublic ProjectEntry(JavaProject project)
public IModule getModule()
IModulePathEntrygetModule in interface IModulePathEntrypublic boolean isAutomaticModule()
IModulePathEntryisAutomaticModule in interface IModulePathEntrypublic char[][] getModulesDeclaringPackage(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
IModulePathEntrygetModulesDeclaringPackage in interface IModulePathEntrypublic boolean hasCompilationUnit(java.lang.String qualifiedPackageName,
java.lang.String moduleName)
IModulePathEntryhasCompilationUnit in interface IModulePathEntryqualifiedPackageName - '/'-separated package namemoduleName - if non-null only CUs attached to the given module should be considered