public interface JavaPackage extends JavaElement, JavaHasName, JavaHasAnnotations
| Modifier and Type | Field and Description | 
|---|---|
static JavaPackage[] | 
EMPTY_ARRAY  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
exists()
Checks if this package actually exists. 
 | 
java.util.Collection<JavaClass> | 
getDeclaredClasses()  | 
java.lang.String | 
getName()  | 
JavaPackage | 
getOwningPackage()  | 
JavaPackage | 
getPackage(java.lang.String name)  | 
java.util.Collection<JavaPackage> | 
getPackages()  | 
java.lang.String | 
getQualifiedName()  | 
java.lang.String | 
getUniqueIdentifier()
Gets a unique identifier for this element. 
 | 
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations, hasAnnotation, hasDeclaredAnnotationgetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfostatic final JavaPackage[] EMPTY_ARRAY
java.lang.String getName()
getName in interface JavaHasNamejava.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<JavaPackage> getPackages()
boolean exists()