java.lang.annotation
Annotation Type Retention


@Documented
@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface Retention

This annotation is used to specify the desired lifetime of another annotation.

Since:
1.5
See Also:
RetentionPolicy

Required Element Summary
 RetentionPolicy value
          The value holds the lifetime of the annotation.
 

Element Detail

value

public abstract RetentionPolicy value
The value holds the lifetime of the annotation.