java.lang.annotation.RetentionPolicy
Defines an enumeration for annotation retention policies. Used in conjunction
with the Retention annotation to specify an annotation's time-to-live
in the overall development life cycle.
Summary
Enum Values
Public Methods
Methods inherited
from class
java.lang.Enum
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Enum Values
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.
Public Methods