Package java.lang.annotation
Annotation Type Retention
@Documented @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface Retention
Defines a meta-annotation for determining the scope of retention for an
annotation. If the retention annotation is not set
RetentionPolicy.CLASS is used as default retention.- Since:
- 1.5
-
Required Element Summary
Required Elements Modifier and Type Required Element Description RetentionPolicyvalue
-
Element Details
-
value
RetentionPolicy value
-