Package java.lang.annotation

Interface Summary

Annotation This is the common interface for all annotations.
Documented
Inherited
Retention This annotation is used to specify the desired lifetime of another annotation.
Target

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.