|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PackageDeclaration
Represents the declaration of a package. Provides access to information about the package and its members.
DeclarationFilter
provides a simple way to select just the items of interest
when a method returns a collection of declarations.
Method Summary | |
---|---|
Collection<AnnotationTypeDeclaration> |
getAnnotationTypes()
Returns the declarations of the top-level annotation types in this package. |
Collection<ClassDeclaration> |
getClasses()
Returns the declarations of the top-level classes in this package. |
Collection<EnumDeclaration> |
getEnums()
Returns the declarations of the top-level enum types in this package. |
Collection<InterfaceDeclaration> |
getInterfaces()
Returns the declarations of the top-level interfaces in this package. |
String |
getQualifiedName()
Returns the fully qualified name of this package. |
Methods inherited from interface com.sun.mirror.declaration.Declaration |
---|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
Method Detail |
---|
String getQualifiedName()
Collection<ClassDeclaration> getClasses()
DeclarationFilter
Collection<EnumDeclaration> getEnums()
DeclarationFilter
Collection<InterfaceDeclaration> getInterfaces()
DeclarationFilter
Collection<AnnotationTypeDeclaration> getAnnotationTypes()
DeclarationFilter
|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |