Uses of Annotation Interface
java.lang.annotation.Target
Packages that use Target
Package
Description
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides library support for the Java programming language
annotation facility.
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
Provides the core classes for the Java Management Extensions.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
This package provides classes to create events and control Flight Recorder.
-
Uses of Target in java.beans
Classes in java.beans with annotations of type TargetModifier and TypeClassDescription@interfaceAn annotation used to specify some property-related information for the automatically generatedBeanInfoclasses.@interfaceAn annotation on a constructor that shows how the parameters of that constructor correspond to the constructed object's getter methods.@interfaceAn annotation used to specify some class-related information for the automatically generatedBeanInfoclasses.@interfaceIndicates that an attribute called "transient" should be declared with the givenvaluewhen theIntrospectorconstructs aPropertyDescriptororEventSetDescriptorclasses associated with the annotated code element. -
Uses of Target in java.io
Modifier and TypeClassDescription@interfaceIndicates that an annotated field or method is part of the serialization mechanism defined by the Java Object Serialization Specification. -
Uses of Target in java.lang
Modifier and TypeClassDescription@interfaceA program element annotated@Deprecatedis one that programmers are discouraged from using.@interfaceAn 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.@interfaceIndicates that a method declaration is intended to override a method declaration in a supertype.@interfaceA programmer assertion that the body of the annotated method or constructor does not perform potentially unsafe operations on its varargs parameter. -
Uses of Target in java.lang.annotation
Classes in java.lang.annotation with annotations of type TargetModifier and TypeClassDescription@interfaceIf the annotation@Documentedis present on the declaration of an annotation interface A, then any@Aannotation on an element is considered part of the element's public contract.@interfaceIndicates that an annotation interface is automatically inherited.@interfaceIndicates that a field defining a constant value may be referenced from native code.@interfaceThe annotation interfacejava.lang.annotation.Repeatableis used to indicate that the annotation interface whose declaration it (meta-)annotates is repeatable.@interfaceIndicates how long annotations with the annotated interface are to be retained.@interfaceIndicates the contexts in which an annotation interface is applicable. -
Uses of Target in javax.annotation.processing
Classes in javax.annotation.processing with annotations of type TargetModifier and TypeClassDescription@interfaceThe Generated annotation is used to mark source code that has been generated.@interfaceAn annotation used to indicate what annotation interfaces an annotation processor supports.@interfaceAn annotation used to indicate what options an annotation processor supports.@interfaceAn annotation used to indicate the latest source version an annotation processor supports. -
Uses of Target in javax.management
Classes in javax.management with annotations of type TargetModifier and TypeClassDescription@interfaceAn annotation on a constructor that shows how the parameters of that constructor correspond to the constructed object's getter methods.@interfaceMeta-annotation that describes how an annotation element relates to a field in aDescriptor.@interfaceAnnotation to mark an interface explicitly as being an MXBean interface, or as not being an MXBean interface. -
Uses of Target in javax.swing
Classes in javax.swing with annotations of type TargetModifier and TypeClassDescription@interfaceAn annotation used to specify some swing-related information for the automatically generatedBeanInfoclasses. -
Uses of Target in jdk.jfr
Modifier and TypeClassDescription@interfaceEvent field annotation, specifies that the value is a boolean flag, atrueorfalsevalue.@interfaceEvent annotation, to associate the event type with a category, in the format of a human-readable path.@interfaceMeta annotation, specifies that an annotation represents a content type, such as a time span or a frequency.@interfaceEvent field annotation, specifies that a value represents an amount of data (for example, bytes).@interfaceAnnotation that describes an element by using a sentence or two.@interfaceEvent annotation, determines if an event should be enabled by default.@interfaceAnnotation that specifies that an element is experimental and may change without notice.@interfaceEvent field annotation, specifies that the value is a frequency, measured in Hz.@interfaceAnnotation that sets a human-readable name for an element (for example,"Maximum Throughput").@interfaceEvent field annotation, specifies that the value is a memory address.@interfaceMeta annotation for defining new types of event metadata.@interfaceAnnotation that sets the default name for an element.@interfaceEvent field annotation to use on fractions, typically between0.0and1.0, to specify that the value is a percentage.@interfaceEvent annotation, specifies the default setting value for a periodic event.@interfaceEvent annotation, for programmatic event registration.@interfaceMeta annotation for relational annotations, to be used on an annotation.@interfaceAnnotation that specifies that a method in an event class should be used to filter out events.@interfaceEvent annotation, determines whether an event by default has a stack trace or not.@interfaceEvent annotation, specifies the default duration below which an event is not recorded (for example,"20 ms").@interfaceEvent field annotation, specifies that the value is a duration.@interfaceEvent field annotation, specifies that the value is a point in time.@interfaceEvent field annotation, specifies that the event transitioned from a thread.@interfaceEvent field annotation, specifies that the event will soon transition to a thread.@interfaceEvent field annotation, specifies that the value is of an unsigned data type.