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.