Package com.sun.mirror.declaration
Interfaces used to model program element declarations.
A declaration is represented by the appropriate subinterface of
Declaration,
and an annotation is represented as an
AnnotationMirror.
Note that the apt tool and its associated APIs may be
changed or superseded in future j2se releases.
- Since:
- 1.5
-
Interface Summary Interface Description AnnotationMirror Represents an annotation.AnnotationTypeDeclaration Represents the declaration of an annotation type.AnnotationTypeElementDeclaration Represents an element of an annotation type.AnnotationValue Represents a value of an annotation type element.ClassDeclaration Represents the declaration of a class.ConstructorDeclaration Represents a constructor of a class or interface.Declaration Represents the declaration of a program element such as a package, class, or method.EnumConstantDeclaration Represents an enum constant declaration.EnumDeclaration Represents the declaration of an enum type.ExecutableDeclaration Represents a method or constructor of a class or interface.FieldDeclaration Represents a field of a type declaration.InterfaceDeclaration Represents the declaration of an interface.MemberDeclaration Represents a declaration that may be a member or constructor of a declared type.MethodDeclaration Represents a method of a class or interface.PackageDeclaration Represents the declaration of a package.ParameterDeclaration Represents a formal parameter of a method or constructor.TypeDeclaration Represents the declaration of a class or interface.TypeParameterDeclaration Represents a formal type parameter of a generic type, method, or constructor declaration. -
Enum Summary Enum Description Modifier Represents a modifier on the declaration of a program element such as a class, method, or field.