# Uses of Package
java.lang.annotation

- Packages that use java.lang.annotation
  Package | Description
  --- | ---
  java.lang |
  java.lang.annotation |
  java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.

- Classes in java.lang.annotation used by java.lang
  Class and Description
  Annotation The common interface extended by all annotation types.
  Documented Indicates that annotations with a type are to be documented by javadoc and similar tools by default.
  Retention Indicates how long annotations with the annotated type are to be retained.
  Target Indicates the kinds of program element to which an annotation type is applicable.

- Classes in java.lang.annotation used by java.lang.annotation
  Class and Description
  Annotation The common interface extended by all annotation types.
  Documented Indicates that annotations with a type are to be documented by javadoc and similar tools by default.
  ElementType A program element type.
  Retention Indicates how long annotations with the annotated type are to be retained.
  RetentionPolicy Annotation retention policy.
  Target Indicates the kinds of program element to which an annotation type is applicable.

- Classes in java.lang.annotation used by java.lang.reflect
  Class and Description
  Annotation The common interface extended by all annotation types.

Copyright © 2025 API Design. All Rights Reserved.