jdk 1.8
package java.lang.annotation;
/**
* Indicates that annotations with a type are to be documented by javadoc
* and similar tools by default. This type should be used to annotate the
* declarations of types whose annotations affect the use of annotated
* elements by their clients. If a type declaration is annotated with
* Documented, its annotations become part of the public API
* of the annotated elements.
* <trans>指示javadoc和类似工具,将默认把此注解标记的注解信息包含在javadoc中。
* 此类型应用于注释类型的声明,这些类型的注释会影响其客户端对已注释元素的使用。
* 如果类型声明用Documented进行注释,则其注释将成为带注释元素的公共API的一部分。
*
* @author Joshua Bloch
* @since 1.5
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.ANNOTATION_TYPE)
public @interface Documented {
}
博客提及了JDK 1.8,JDK是Java开发工具包,1.8版本有诸多重要特性和更新,在Java开发领域应用广泛。
1140

被折叠的 条评论
为什么被折叠?



