package

java.lang.annotation

Provides library support for the Java programming language annotation facility.

Interfaces

Annotation The common interface extended by all annotation types. 

Enums

ElementType A program element type. 
RetentionPolicy Annotation retention policy. 

Exceptions

AnnotationTypeMismatchException Thrown to indicate that a program has attempted to access an element of an annotation whose type has changed after the annotation was compiled (or serialized). 
IncompleteAnnotationException Thrown to indicate that a program has attempted to access an element of an annotation type that was added to the annotation type definition after the annotation was compiled (or serialized). 

Errors

AnnotationFormatError Thrown when the annotation parser attempts to read an annotation from a class file and determines that the annotation is malformed.