Interface DeprecatedAttribute

All Superinterfaces:
Attribute<DeprecatedAttribute>, ClassElement, ClassFileElement, FieldElement, MethodElement, WritableElement<DeprecatedAttribute>
All Known Implementing Classes:
BoundAttribute.BoundDeprecatedAttribute, UnboundAttribute.UnboundDeprecatedAttribute

Models the Deprecated attribute , 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:
22
  • Method Details

    • of

      static DeprecatedAttribute of()
      Returns a Deprecated attribute.
      Returns:
      a Deprecated attribute