| java.lang.annotation.RetentionPolicy
RetentionPolicy | public enum RetentionPolicy (Code) | |
An enumeration for annotation retention policies.
since: 1.5 |
Field Summary | |
Enum Constant | CLASS
Annotation is available in the source code and in the class file, but not
at runtime. | Enum Constant | RUNTIME
Annotation is available in the source code, the class file and is
available at runtime. | Enum Constant | SOURCE
Annotation is only available in the source code. |
CLASS | Enum Constant CLASS(Code) | |
Annotation is available in the source code and in the class file, but not
at runtime. This is the default policy.
|
RUNTIME | Enum Constant RUNTIME(Code) | |
Annotation is available in the source code, the class file and is
available at runtime.
|
SOURCE | Enum Constant SOURCE(Code) | |
Annotation is only available in the source code.
|
|
|