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
public sealed interface ClassFileElement
permits AttributedElementPREVIEW, CompoundElementPREVIEW<E>, AttributePREVIEW<A>, ClassElementPREVIEW, CodeElementPREVIEW, FieldElementPREVIEW, MethodElementPREVIEW
ClassFileElement
is a preview API of the Java platform.
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
AttributedElement
PREVIEW; elements that model complex parts of the classfile that
themselves contain their own child elements will implement CompoundElement
PREVIEW. Elements specific to various locations in the classfile
will implement ClassElement
PREVIEW, MethodElement
PREVIEW, etc.- Since:
- 22
ClassFileElement
when preview features are enabled.