public interface PackageDeclaration extends Declaration
DeclarationFilter
provides a simple way to select just the items of interest
when a method returns a collection of declarations.
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AnnotationTypeDeclaration> |
getAnnotationTypes()
Returns the declarations of the top-level annotation types in this
package.
|
java.util.Collection<ClassDeclaration> |
getClasses()
Returns the declarations of the top-level classes in this package.
|
java.util.Collection<EnumDeclaration> |
getEnums()
Returns the declarations of the top-level enum types in this package.
|
java.util.Collection<InterfaceDeclaration> |
getInterfaces()
Returns the declarations of the top-level interfaces in this package.
|
java.lang.String |
getQualifiedName()
Returns the fully qualified name of this package.
|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleNamejava.lang.String getQualifiedName()
java.util.Collection<ClassDeclaration> getClasses()
DeclarationFilterjava.util.Collection<EnumDeclaration> getEnums()
DeclarationFilterjava.util.Collection<InterfaceDeclaration> getInterfaces()
DeclarationFilterjava.util.Collection<AnnotationTypeDeclaration> getAnnotationTypes()
DeclarationFilterCopyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved