| Interface | Description |
|---|---|
| Annotation |
Defines the interface implemented by all annotations.
|
| Enum | Description |
|---|---|
| ElementType |
The constants of this enumerated type provide a simple classification of the
syntactic locations where annotations may appear in a Java program.
|
| RetentionPolicy |
Defines an enumeration for annotation retention policies.
|
| Exception | Description |
|---|---|
| AnnotationTypeMismatchException |
Indicates that an annotation type has changed since it was compiled or
serialized.
|
| IncompleteAnnotationException |
Indicates that an element of an annotation type was accessed that was added
after the type was compiled or serialized.
|
| Error | Description |
|---|---|
| AnnotationFormatError |
Indicates that an annotation in the binary representation of a class is
syntactically incorrect and the annotation parser is unable to process it.
|
| Annotation Type | Description |
|---|---|
| Documented |
Defines a meta-annotation for indicating that an annotation is documented and
considered part of the public API.
|
| Inherited |
Defines a meta-annotation for indicating that an annotation is automatically
inherited.
|
| Retention |
Defines a meta-annotation for determining the scope of retention for an
annotation.
|
| Target |
Defines a meta-annotation for determining what
ElementTypes an
annotation can be applied to. |