Module java.base

Interface SyntheticAttribute

All Superinterfaces:
AttributePREVIEW<SyntheticAttributePREVIEW>, ClassElementPREVIEW, ClassFileElementPREVIEW, FieldElementPREVIEW, MethodElementPREVIEW, WritableElementPREVIEW<SyntheticAttributePREVIEW>

SyntheticAttribute is a preview API of the Java platform.
Programs can only use SyntheticAttribute when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the Synthetic attribute 4.7.8, which can appear on classes, methods, and fields. Delivered as a ClassElementPREVIEW, MethodElementPREVIEW, or FieldElementPREVIEW when traversing the elements of a corresponding model.

The attribute permits multiple instances in a given location.