Interface DeprecatedAttribute
- All Superinterfaces:
Attribute<DeprecatedAttribute>
,ClassElement
,ClassFileElement
,FieldElement
,MethodElement
public sealed interface DeprecatedAttribute
extends Attribute<DeprecatedAttribute>, ClassElement, MethodElement, FieldElement
Models the
Deprecated
attribute (JVMS 4.7.15), which can appear on
classes, methods, and fields. Delivered as a ClassElement
,
MethodElement
, or FieldElement
when traversing the elements
of a corresponding model.
The attribute permits multiple instances in a given location.
- Since:
- 24
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic DeprecatedAttribute
of()
Returns aDeprecated
attribute.Methods declared in interface java.lang.classfile.Attribute
attributeMapper, attributeName
-
Method Details
-
of
-