| java.lang.Object | |||
| java.lang.Enum | Serializable Comparable | ||
| java.lang.annotation.RetentionPolicy | |||
An enumeration for annotation retention policies.
| RetentionPolicy | CLASS | Annotation is available in the source code and in the class file, but not at runtime. |
| RetentionPolicy | RUNTIME | Annotation is available in the source code, the class file and is available at runtime. |
| RetentionPolicy | SOURCE | Annotation is only available in the source code. |
| static | RetentionPolicy | valueOf(String name) | |||
| final | static | RetentionPolicy[] | values() |
Methods inherited
from class
java.lang.Enum
Methods inherited
from class
java.lang.Object
Methods inherited
from interface
java.lang.Comparable
Annotation is available in the source code and in the class file, but not at runtime. This is the default policy.
Annotation is available in the source code, the class file and is available at runtime.
Annotation is only available in the source code.