Module java.base

Interface ClassFileElement

All Known Subinterfaces:
AccessFlagsPREVIEW, AnnotationPREVIEW, AnnotationConstantValueEntryPREVIEW, AnnotationDefaultAttributePREVIEW, AnnotationElementPREVIEW, AnnotationValuePREVIEW, AnnotationValue.OfAnnotationPREVIEW, AnnotationValue.OfArrayPREVIEW, AnnotationValue.OfBooleanPREVIEW, AnnotationValue.OfBytePREVIEW, AnnotationValue.OfCharacterPREVIEW, AnnotationValue.OfClassPREVIEW, AnnotationValue.OfConstantPREVIEW, AnnotationValue.OfDoublePREVIEW, AnnotationValue.OfEnumPREVIEW, AnnotationValue.OfFloatPREVIEW, AnnotationValue.OfIntegerPREVIEW, AnnotationValue.OfLongPREVIEW, AnnotationValue.OfShortPREVIEW, AnnotationValue.OfStringPREVIEW, ArrayLoadInstructionPREVIEW, ArrayStoreInstructionPREVIEW, AttributePREVIEW<A>, AttributedElementPREVIEW, BootstrapMethodEntryPREVIEW, BootstrapMethodsAttributePREVIEW, BranchInstructionPREVIEW, CharacterRangePREVIEW, CharacterRangeTableAttributePREVIEW, ClassElementPREVIEW, ClassEntryPREVIEW, ClassFileVersionPREVIEW, ClassModelPREVIEW, CodeAttributePREVIEW, CodeElementPREVIEW, CodeModelPREVIEW, CompilationIDAttributePREVIEW, CompoundElementPREVIEW<E>, ConstantDynamicEntryPREVIEW, ConstantInstructionPREVIEW, ConstantInstruction.ArgumentConstantInstructionPREVIEW, ConstantInstruction.IntrinsicConstantInstructionPREVIEW, ConstantInstruction.LoadConstantInstructionPREVIEW, ConstantPoolBuilderPREVIEW, ConstantValueAttributePREVIEW, ConstantValueEntryPREVIEW, ConvertInstructionPREVIEW, DeprecatedAttributePREVIEW, DiscontinuedInstructionPREVIEW, DiscontinuedInstruction.JsrInstructionPREVIEW, DiscontinuedInstruction.RetInstructionPREVIEW, DoubleEntryPREVIEW, DynamicConstantPoolEntryPREVIEW, EnclosingMethodAttributePREVIEW, ExceptionCatchPREVIEW, ExceptionsAttributePREVIEW, FieldElementPREVIEW, FieldInstructionPREVIEW, FieldModelPREVIEW, FieldRefEntryPREVIEW, FloatEntryPREVIEW, IncrementInstructionPREVIEW, InnerClassesAttributePREVIEW, InstructionPREVIEW, IntegerEntryPREVIEW, InterfaceMethodRefEntryPREVIEW, InterfacesPREVIEW, InvokeDynamicEntryPREVIEW, InvokeDynamicInstructionPREVIEW, InvokeInstructionPREVIEW, LabelTargetPREVIEW, LineNumberPREVIEW, LineNumberTableAttributePREVIEW, LoadableConstantEntryPREVIEW, LoadInstructionPREVIEW, LocalVariablePREVIEW, LocalVariableTableAttributePREVIEW, LocalVariableTypePREVIEW, LocalVariableTypeTableAttributePREVIEW, LongEntryPREVIEW, LookupSwitchInstructionPREVIEW, MemberRefEntryPREVIEW, MethodElementPREVIEW, MethodHandleEntryPREVIEW, MethodModelPREVIEW, MethodParametersAttributePREVIEW, MethodRefEntryPREVIEW, MethodTypeEntryPREVIEW, ModuleAttributePREVIEW, ModuleEntryPREVIEW, ModuleHashesAttributePREVIEW, ModuleMainClassAttributePREVIEW, ModulePackagesAttributePREVIEW, ModuleResolutionAttributePREVIEW, ModuleTargetAttributePREVIEW, MonitorInstructionPREVIEW, NameAndTypeEntryPREVIEW, NestHostAttributePREVIEW, NestMembersAttributePREVIEW, NewMultiArrayInstructionPREVIEW, NewObjectInstructionPREVIEW, NewPrimitiveArrayInstructionPREVIEW, NewReferenceArrayInstructionPREVIEW, NopInstructionPREVIEW, OperatorInstructionPREVIEW, PackageEntryPREVIEW, PermittedSubclassesAttributePREVIEW, PoolEntryPREVIEW, PseudoInstructionPREVIEW, RecordAttributePREVIEW, RecordComponentInfoPREVIEW, ReturnInstructionPREVIEW, RuntimeInvisibleAnnotationsAttributePREVIEW, RuntimeInvisibleParameterAnnotationsAttributePREVIEW, RuntimeInvisibleTypeAnnotationsAttributePREVIEW, RuntimeVisibleAnnotationsAttributePREVIEW, RuntimeVisibleParameterAnnotationsAttributePREVIEW, RuntimeVisibleTypeAnnotationsAttributePREVIEW, SignatureAttributePREVIEW, SourceDebugExtensionAttributePREVIEW, SourceFileAttributePREVIEW, SourceIDAttributePREVIEW, StackInstructionPREVIEW, StackMapTableAttributePREVIEW, StoreInstructionPREVIEW, StringEntryPREVIEW, SuperclassPREVIEW, SyntheticAttributePREVIEW, TableSwitchInstructionPREVIEW, ThrowInstructionPREVIEW, TypeAnnotationPREVIEW, TypeCheckInstructionPREVIEW, UnknownAttributePREVIEW, Utf8EntryPREVIEW, WritableElementPREVIEW<T>
All Known Implementing Classes:
CustomAttributePREVIEW

ClassFileElement is a preview API of the Java platform.
Programs can only use ClassFileElement when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Immutable model for a portion of (or the entirety of) a classfile. Elements that model parts of the classfile that have attributes will implement AttributedElementPREVIEW; elements that model complex parts of the classfile that themselves contain their own child elements will implement CompoundElementPREVIEW. Elements specific to various locations in the classfile will implement ClassElementPREVIEW, MethodElementPREVIEW, etc.
Sealed Class Hierarchy Graph:
Sealed class hierarchy graph for ClassFileElementSealed class hierarchy graph for ClassFileElement
Since:
22