Interface SyntheticAttribute

All Superinterfaces:
Attribute<SyntheticAttribute>, ClassElement, ClassFileElement, FieldElement, MethodElement, WritableElement<SyntheticAttribute>
All Known Implementing Classes:
BoundAttribute.BoundSyntheticAttribute, UnboundAttribute.UnboundSyntheticAttribute

Models the Synthetic 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 SyntheticAttribute of()
      Returns a Synthetic attribute.
      Returns:
      a Synthetic attribute