java.lang.annotation.RetentionPolicy| Enum Constant Summary | |
| CLASS Annotations are to be recorded in the class file by the compiler
but need not be retained by the VM at run time. |
|
| RUNTIME Annotations are to be recorded in the class file by the compiler and
retained by the VM at run time, so they may be read reflectively. |
|
| SOURCE Annotations are to be discarded by the compiler. |
| Method Summary | ||
static RetentionPolicy |
valueOf(String name) | |
static RetentionPolicy[] |
values() | |
| Methods inherited from class java.lang.Enum |
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |