Module java.base

Interface DeprecatedAttribute

All Superinterfaces:
AttributePREVIEW<DeprecatedAttributePREVIEW>, ClassElementPREVIEW, ClassFileElementPREVIEW, FieldElementPREVIEW, MethodElementPREVIEW, WritableElementPREVIEW<DeprecatedAttributePREVIEW>

DeprecatedAttribute is a preview API of the Java platform.
Programs can only use DeprecatedAttribute when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the Deprecated attribute 4.7.15, which can appear on classes, methods, and fields. Delivered as a ClassElementPREVIEW, MethodElementPREVIEW, or FieldElementPREVIEW when traversing the elements of a corresponding model.

The attribute permits multiple instances in a given location.

Since:
22