## Uses of Class
java.lang.annotation.Documented

- Packages that use Documented
  Package | Description
  --- | ---
  java.lang |
  java.lang.annotation |

- - ### Uses of Documented in java.lang

    Classes in java.lang with annotations of type Documented
    Modifier and Type | Class and Description
    --- | ---
    `interface` | `Deprecated` A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists.
    `interface` | `FunctionalInterface` An informative annotation type used to indicate that an interface type declaration is intended to be a functional interface as defined by the Java Language Specification.
    `interface` | `SafeVarargs` A programmer assertion that the body of the annotated method or constructor does not perform potentially unsafe operations on its varargs parameter.

  - ### Uses of Documented in java.lang.annotation

    Classes in java.lang.annotation with annotations of type Documented
    Modifier and Type | Class and Description
    --- | ---
    `interface` | `Documented` Indicates that annotations with a type are to be documented by javadoc and similar tools by default.
    `interface` | `Inherited` Indicates that an annotation type is automatically inherited.
    `interface` | `Retention` Indicates how long annotations with the annotated type are to be retained.
    `interface` | `Target` Indicates the kinds of program element to which an annotation type is applicable.

Copyright © 2025 API Design. All Rights Reserved.