PackageElement
.@Deprecated 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 |
---|---|
Collection<AnnotationTypeDeclaration> |
getAnnotationTypes()
Deprecated.
Returns the declarations of the top-level annotation types in this
package.
|
Collection<ClassDeclaration> |
getClasses()
Deprecated.
Returns the declarations of the top-level classes in this package.
|
Collection<EnumDeclaration> |
getEnums()
Deprecated.
Returns the declarations of the top-level enum types in this package.
|
Collection<InterfaceDeclaration> |
getInterfaces()
Deprecated.
Returns the declarations of the top-level interfaces in this package.
|
String |
getQualifiedName()
Deprecated.
Returns the fully qualified name of this package.
|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
String getQualifiedName()
Collection<ClassDeclaration> getClasses()
DeclarationFilter
Collection<EnumDeclaration> getEnums()
DeclarationFilter
Collection<InterfaceDeclaration> getInterfaces()
DeclarationFilter
Collection<AnnotationTypeDeclaration> getAnnotationTypes()
DeclarationFilter
Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.