- All Superinterfaces:
Attribute<SyntheticAttribute>,ClassElement,ClassFileElement,FieldElement,MethodElement,WritableElement<SyntheticAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundSyntheticAttribute,UnboundAttribute.UnboundSyntheticAttribute
public sealed interface SyntheticAttribute
extends Attribute<SyntheticAttribute>, ClassElement, MethodElement, FieldElement
permits 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 Summary
Static MethodsMethods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
of
Returns aSyntheticattribute.- Returns:
- a
Syntheticattribute
-