FieldElement (Java SE 23 & JDK 23)
Description: declaration: module: java.base, package: java.lang.classfile, interface: FieldElement
Keywords: java.lang.classfile.FieldElement interface

# Interface FieldElement

All Superinterfaces:
  `ClassFileElementPREVIEW`

All Known Subinterfaces:
  `AccessFlagsPREVIEW`, `ConstantValueAttributePREVIEW`, `DeprecatedAttributePREVIEW`, `RuntimeInvisibleAnnotationsAttributePREVIEW`, `RuntimeInvisibleTypeAnnotationsAttributePREVIEW`, `RuntimeVisibleAnnotationsAttributePREVIEW`, `RuntimeVisibleTypeAnnotationsAttributePREVIEW`, `SignatureAttributePREVIEW`, `SyntheticAttributePREVIEW`, `UnknownAttributePREVIEW`

All Known Implementing Classes:
  `CustomAttributePREVIEW`

public sealed interface FieldElement extends ClassFileElementPREVIEW permits AccessFlagsPREVIEW, CustomAttributePREVIEW<T>, ConstantValueAttributePREVIEW, DeprecatedAttributePREVIEW, RuntimeInvisibleAnnotationsAttributePREVIEW, RuntimeInvisibleTypeAnnotationsAttributePREVIEW, RuntimeVisibleAnnotationsAttributePREVIEW, RuntimeVisibleTypeAnnotationsAttributePREVIEW, SignatureAttributePREVIEW, SyntheticAttributePREVIEW, UnknownAttributePREVIEW
`FieldElement` is a preview API of the Java platform.
Programs can only use `FieldElement` when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A marker interface for elements that can appear when traversing a `FieldModel`PREVIEW or be presented to a `FieldBuilder`PREVIEW.

Sealed Class Hierarchy Graph:
Since:
  22