Interface | Description |
---|---|
Annotation |
This is the common interface for all annotations.
|
Enum | Description |
---|---|
ElementType | |
RetentionPolicy |
This enum is used to control the lifetime of an annotation.
|
Exception | Description |
---|---|
AnnotationTypeMismatchException |
Thrown when accessing an element within an annotation for
which the type has changed, since compilation or serialization
took place.
|
IncompleteAnnotationException |
Thrown when accessing an element within an annotation which
was added since compilation or serialization took place, and
does not have a default value.
|
Error | Description |
---|---|
AnnotationFormatError |
Thrown when an annotation found in a class file is
malformed.
|
Annotation Type | Description |
---|---|
Documented | |
Inherited | |
Retention |
This annotation is used to specify the desired lifetime of another
annotation.
|
Target |