Interface ClassFileElement

All Known Subinterfaces:
AccessFlagsPREVIEW, AnnotationDefaultAttributePREVIEW, ArrayLoadInstructionPREVIEW, ArrayStoreInstructionPREVIEW, AttributePREVIEW<A>, AttributedElementPREVIEW, BootstrapMethodsAttributePREVIEW, BranchInstructionPREVIEW, CharacterRangePREVIEW, CharacterRangeTableAttributePREVIEW, ClassElementPREVIEW, ClassFileVersionPREVIEW, ClassModelPREVIEW, CodeAttributePREVIEW, CodeElementPREVIEW, CodeModelPREVIEW, CompilationIDAttributePREVIEW, CompoundElementPREVIEW<E>, ConstantInstructionPREVIEW, ConstantInstruction.ArgumentConstantInstructionPREVIEW, ConstantInstruction.IntrinsicConstantInstructionPREVIEW, ConstantInstruction.LoadConstantInstructionPREVIEW, ConstantValueAttributePREVIEW, ConvertInstructionPREVIEW, DeprecatedAttributePREVIEW, DiscontinuedInstructionPREVIEW, DiscontinuedInstruction.JsrInstructionPREVIEW, DiscontinuedInstruction.RetInstructionPREVIEW, EnclosingMethodAttributePREVIEW, ExceptionCatchPREVIEW, ExceptionsAttributePREVIEW, FieldElementPREVIEW, FieldInstructionPREVIEW, FieldModelPREVIEW, IncrementInstructionPREVIEW, InnerClassesAttributePREVIEW, InstructionPREVIEW, InterfacesPREVIEW, InvokeDynamicInstructionPREVIEW, InvokeInstructionPREVIEW, LabelTargetPREVIEW, LineNumberPREVIEW, LineNumberTableAttributePREVIEW, LoadInstructionPREVIEW, LocalVariablePREVIEW, LocalVariableTableAttributePREVIEW, LocalVariableTypePREVIEW, LocalVariableTypeTableAttributePREVIEW, LookupSwitchInstructionPREVIEW, MethodElementPREVIEW, MethodModelPREVIEW, MethodParametersAttributePREVIEW, ModuleAttributePREVIEW, ModuleHashesAttributePREVIEW, ModuleMainClassAttributePREVIEW, ModulePackagesAttributePREVIEW, ModuleResolutionAttributePREVIEW, ModuleTargetAttributePREVIEW, MonitorInstructionPREVIEW, NestHostAttributePREVIEW, NestMembersAttributePREVIEW, NewMultiArrayInstructionPREVIEW, NewObjectInstructionPREVIEW, NewPrimitiveArrayInstructionPREVIEW, NewReferenceArrayInstructionPREVIEW, NopInstructionPREVIEW, OperatorInstructionPREVIEW, PermittedSubclassesAttributePREVIEW, PseudoInstructionPREVIEW, RecordAttributePREVIEW, RecordComponentInfoPREVIEW, ReturnInstructionPREVIEW, RuntimeInvisibleAnnotationsAttributePREVIEW, RuntimeInvisibleParameterAnnotationsAttributePREVIEW, RuntimeInvisibleTypeAnnotationsAttributePREVIEW, RuntimeVisibleAnnotationsAttributePREVIEW, RuntimeVisibleParameterAnnotationsAttributePREVIEW, RuntimeVisibleTypeAnnotationsAttributePREVIEW, SignatureAttributePREVIEW, SourceDebugExtensionAttributePREVIEW, SourceFileAttributePREVIEW, SourceIDAttributePREVIEW, StackInstructionPREVIEW, StackMapTableAttributePREVIEW, StoreInstructionPREVIEW, SuperclassPREVIEW, SyntheticAttributePREVIEW, TableSwitchInstructionPREVIEW, ThrowInstructionPREVIEW, TypeCheckInstructionPREVIEW, UnknownAttributePREVIEW
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.
Since:
22