Classes to handle annotations.
See: Description
| Interface Summary | |
|---|---|
| Annotation | This is the common interface for all annotations. |
| Class Summary | |
|---|---|
| ElementType | |
| RetentionPolicy | This enum is used to control the lifetime of an annotation. |
| Exception Summary | |
|---|---|
| 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 Summary | |
|---|---|
| AnnotationFormatError | Thrown when an annotation found in a class file is malformed. |
Classes to handle annotations.