W3cubDocs

/OpenJDK 25

Interface FieldElement

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:
Sealed class hierarchy graph for FieldElementSealed class hierarchy graph for FieldElement
Since:
24
See Also:

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/classfile/FieldElement.html