public interface JavaPackage extends JavaElement, JavaHasName, JavaHasAnnotations
Modifier and Type | Field and Description |
---|---|
static JavaPackage[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<JavaClass> |
getDeclaredClasses() |
java.lang.String |
getName() |
JavaPackage |
getOwningPackage() |
JavaPackage |
getPackage(java.lang.String name) |
java.util.Collection |
getPackages() |
java.lang.String |
getQualifiedName() |
java.lang.String |
getUniqueIdentifier()
Gets a unique identifier for this element.
|
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
static final JavaPackage[] EMPTY_ARRAY
java.lang.String getName()
getName
in interface JavaHasName
java.lang.String getQualifiedName()
java.lang.String getUniqueIdentifier()
java.util.Collection<JavaClass> getDeclaredClasses()
JavaPackage getOwningPackage()
JavaPackage getPackage(java.lang.String name)
name
- If empty, this will return the package itself.java.util.Collection getPackages()