![]() |
|
Contents |
Classes | |
| interface | Annotation |
| class | AnnotationFormatError |
| class | AnnotationTypeMismatchException |
| interface | Documented |
| class | IncompleteAnnotationException |
| interface | Inherited |
| interface | Retention |
| interface | Target |
Enumerations | |
| enum | ElementType { TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE, ANNOTATION_TYPE, PACKAGE } |
| enum | RetentionPolicy { SOURCE, CLASS, RUNTIME } |
| enum ElementType |
An enumeration of element types.
| TYPE | Class, interface or enum declaration. |
| FIELD | Field declaration. |
| METHOD | Method declaration. |
| PARAMETER | Parameter declaration. |
| CONSTRUCTOR | Constructor declaration. |
| LOCAL_VARIABLE | Local variable declaration. |
| ANNOTATION_TYPE | Annotation type declaration. |
| PACKAGE | Package declaration. |
| enum RetentionPolicy |
An enumeration for annotation retention policies.
| SOURCE | Annotation is only available in the source code. |
| CLASS | Annotation is available in the source code and in the class file, but not at runtime. This is the default policy. |
| RUNTIME | Annotation is available in the source code, the class file and is available at runtime. |