|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Enum RetentionPolicy
java.lang.annotation.RetentionPolicy
All Implemented Interfaces:
public enum RetentionPolicy
Annotation retention policy. The constants of this enumerated class
describe the various policies for retaining annotations. They are used
in conjunction with the
Retention meta-annotation interface to
specify how long annotations are to be retained.
Since:
1.5
Author:
Joshua Bloch
Nested classes/interfaces inherited from class java.lang. Enum |
|
Enum Constant Summary |
Annotations are to be recorded in the class file by the compiler
but need not be retained by the VM at run time.
|
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.
|
Annotations are to be discarded by the compiler.
|
Methods inherited from class java.lang. Enum |
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang. Object |
|
Annotations are to be discarded by the compiler.
Annotations are to be recorded in the class file by the compiler
but need not be retained by the VM at run time. This is the default
behavior.
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.
See Also:
|
FlexDoc/Javadoc 2.0 Demo Java Doc |
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch,
FlexDoc/Javadoc may be the only tool able to help you! Find out more at
www.flexdoc.xyz