1 *java.lang.annotation.RetentionPolicy* *RetentionPolicy* Annotation retention po
3 public final class RetentionPolicy
4 extends |java.lang.Enum|
6 |java.lang.annotation.RetentionPolicy_Description|
7 |java.lang.annotation.RetentionPolicy_Fields|
8 |java.lang.annotation.RetentionPolicy_Constructors|
9 |java.lang.annotation.RetentionPolicy_Methods|
11 ================================================================================
13 *java.lang.annotation.RetentionPolicy_Fields*
14 |java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.CLASS|
15 |java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.RUNTIME|
16 |java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.SOURCE|
18 *java.lang.annotation.RetentionPolicy_Methods*
19 |java.lang.annotation.RetentionPolicy.valueOf(String)|
20 |java.lang.annotation.RetentionPolicy.values()|
22 *java.lang.annotation.RetentionPolicy_Description*
24 Annotation retention policy. The constants of this enumerated type describe the
25 various policies for retaining annotations. They are used in conjunction with
26 the (|java.lang.annotation.Retention|) meta-annotation type to specify how long
27 annotations are to be retained.
30 *java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.CLASS*
32 Annotation retention policy. The constants of this enumerated type describe the
33 various policies for retaining annotations. They are used in conjunction with
34 the (|java.lang.annotation.Retention|) meta-annotation type to specify how long
35 annotations are to be retained.
38 *java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.RUNTIME*
40 Annotation retention policy. The constants of this enumerated type describe the
41 various policies for retaining annotations. They are used in conjunction with
42 the (|java.lang.annotation.Retention|) meta-annotation type to specify how long
43 annotations are to be retained.
46 *java.lang.annotation.RetentionPolicy_java.lang.annotation.RetentionPolicy.SOURCE*
48 Annotation retention policy. The constants of this enumerated type describe the
49 various policies for retaining annotations. They are used in conjunction with
50 the (|java.lang.annotation.Retention|) meta-annotation type to specify how long
51 annotations are to be retained.
55 *java.lang.annotation.RetentionPolicy.valueOf(String)*
57 public static |java.lang.annotation.RetentionPolicy| valueOf(java.lang.String name)
62 *java.lang.annotation.RetentionPolicy.values()*
64 public static final |java.lang.annotation.RetentionPolicy| values()