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.
  • Method Details

    • of

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