Uses of Package java.lang.annotation (Java Platform SE 8 )
Date: 2018-07-01

# Uses of Package
java.lang.annotation

- Packages that use java.lang.annotation
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.color | Provides classes for color spaces.
  java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
  java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components.
  java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
  java.awt.image | Provides classes for creating and modifying images.
  java.awt.print | Provides classes and interfaces for a general printing API.
  java.beans | Contains classes related to developing beans -- components based on the JavaBeans™ 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.
  java.net | Provides the classes for implementing networking applications.
  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 | Classes and hierarchies of packages used to model the Java programming language.
  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.awt
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.color
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.dnd
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.event
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.geom
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.image
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- Classes in java.lang.annotation used by java.awt.print
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- 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 contexts in 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.
  Native Indicates that a field defining a constant value may be referenced from native code.
  Retention Indicates how long annotations with the annotated type are to be retained.
  Target Indicates the contexts in 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 The constants of this enumerated type provide a simple classification of the syntactic locations where annotations may appear in a Java program.
  Retention Indicates how long annotations with the annotated type are to be retained.
  RetentionPolicy Annotation retention policy.
  Target Indicates the contexts in 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 java.net
  Class and Description
  Native Indicates that a field defining a constant value may be referenced from native code.

- 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 contexts in 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 contexts in 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 contexts in 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 contexts in which an annotation type is applicable.

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

- 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 contexts in 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 contexts in 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 contexts in 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 contexts in 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 contexts in 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 contexts in 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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.