Module java.base
Package java.lang.classfile

# Interface FieldElement

≠
public abstract sealed interface FieldElement
extends java.lang.classfile.ClassFileElement
permits java.lang.classfile.AccessFlags, java.lang.classfile.CustomAttribute<T>, java.lang.classfile.attribute.ConstantValueAttribute, java.lang.classfile.attribute.DeprecatedAttribute, java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute, java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute, java.lang.classfile.attribute.SignatureAttribute, java.lang.classfile.attribute.SyntheticAttribute, java.lang.classfile.attribute.UnknownAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `ClassFileElement`

All Known Subinterfaces:
  `AccessFlags, ConstantValueAttribute, DeprecatedAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, SignatureAttribute, SyntheticAttribute, UnknownAttribute`

All Known Implementing Classes:
  `CustomAttribute`

public sealed interface FieldElement extends ClassFileElement permits AccessFlags, CustomAttribute<T>, ConstantValueAttribute, DeprecatedAttribute, RuntimeInvisibleAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, RuntimeVisibleAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, SignatureAttribute, SyntheticAttribute, UnknownAttribute
Marker interface for a member element of a `FieldModel` . Such an element can appear when traversing a `FieldModel` unless otherwise specified, be supplied to a `FieldBuilder` , and be processed by a `FieldTransform` .

`AccessFlags` is the only member element of a field that appear exactly once during the traversal of a `FieldModel` .

Sealed Class Hierarchy Graph:
Since:
  24
See Also:
  - Membership Elements
  - `ClassElement` PREVIEW
  - `MethodElement`
  - `CodeElement`

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
FieldElement |  |  |  |  |  |  | 1 |  |  | 1
Total |  |  |  |  |  |  | 1 |  |  | 1