# Uses of Package
java.lang.annotation

- Packages that use java.lang.annotation
  Package | Description
  --- | ---
  java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture.
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  java.lang.annotation | Provides library support for the Java programming language annotation facility.
  java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.
  javax.annotation |
  javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
  javax.jws |
  javax.jws.soap |
  javax.lang.model.element | Interfaces used to model elements of the Java programming language.
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.xml.bind.annotation | Defines annotations for customizing Java program elements to XML Schema mapping.
  javax.xml.bind.annotation.adapters | `XmlAdapter` and its spec-defined sub-classes to allow arbitrary Java classes to be used with JAXB.
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.soap | This package defines APIs specific to the SOAP binding.
  javax.xml.ws.spi | This package defines SPIs for JAX-WS.

- Classes in java.lang.annotation used by java.beans
  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
  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.

- Classes in java.lang.annotation used by javax.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.
  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 javax.annotation.processing
  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 javax.jws
  Class and Description
  Annotation The common interface extended by all annotation types.
  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 javax.jws.soap
  Class and Description
  Annotation The common interface extended by all annotation types.
  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 javax.lang.model.element
  Class and Description
  Annotation The common interface extended by all annotation types.

- Classes in java.lang.annotation used by javax.management
  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 javax.xml.bind.annotation
  Class and Description
  Annotation The common interface extended by all annotation types.
  Inherited Indicates that an annotation type is automatically inherited.
  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 javax.xml.bind.annotation.adapters
  Class and Description
  Annotation The common interface extended by all annotation types.
  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 javax.xml.ws
  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.
  Inherited Indicates that an annotation type is automatically inherited.
  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 javax.xml.ws.soap
  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 javax.xml.ws.spi
  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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.