- All Superinterfaces:
ClassfileElement
- All Known Subinterfaces:
ArrayLoadInstruction,ArrayStoreInstruction,BranchInstruction,CharacterRange,ConstantInstruction,ConstantInstruction.ArgumentConstantInstruction,ConstantInstruction.IntrinsicConstantInstruction,ConstantInstruction.LoadConstantInstruction,ConvertInstruction,ExceptionCatch,FieldInstruction,IncrementInstruction,Instruction,InvokeDynamicInstruction,InvokeInstruction,LabelTarget,LineNumber,LoadInstruction,LocalVariable,LocalVariableType,LookupSwitchInstruction,MonitorInstruction,NewMultiArrayInstruction,NewObjectInstruction,NewPrimitiveArrayInstruction,NewReferenceArrayInstruction,NopInstruction,OperatorInstruction,PseudoInstruction,ReturnInstruction,RuntimeInvisibleTypeAnnotationsAttribute,RuntimeVisibleTypeAnnotationsAttribute,StackInstruction,StackMapTableAttribute,StoreInstruction,TableSwitchInstruction,ThrowInstruction,TypeCheckInstruction
- All Known Implementing Classes:
AbstractInstruction,AbstractInstruction.BoundArgumentConstantInstruction,AbstractInstruction.BoundBranchInstruction,AbstractInstruction.BoundFieldInstruction,AbstractInstruction.BoundIncrementInstruction,AbstractInstruction.BoundInstruction,AbstractInstruction.BoundInvokeDynamicInstruction,AbstractInstruction.BoundInvokeInstruction,AbstractInstruction.BoundInvokeInterfaceInstruction,AbstractInstruction.BoundLoadConstantInstruction,AbstractInstruction.BoundLoadInstruction,AbstractInstruction.BoundLookupSwitchInstruction,AbstractInstruction.BoundNewMultidimensionalArrayInstruction,AbstractInstruction.BoundNewObjectInstruction,AbstractInstruction.BoundNewPrimitiveArrayInstruction,AbstractInstruction.BoundNewReferenceArrayInstruction,AbstractInstruction.BoundStoreInstruction,AbstractInstruction.BoundTableSwitchInstruction,AbstractInstruction.BoundTypeCheckInstruction,AbstractInstruction.UnboundArgumentConstantInstruction,AbstractInstruction.UnboundArrayLoadInstruction,AbstractInstruction.UnboundArrayStoreInstruction,AbstractInstruction.UnboundBranchInstruction,AbstractInstruction.UnboundConvertInstruction,AbstractInstruction.UnboundFieldInstruction,AbstractInstruction.UnboundIncrementInstruction,AbstractInstruction.UnboundInstruction,AbstractInstruction.UnboundIntrinsicConstantInstruction,AbstractInstruction.UnboundInvokeDynamicInstruction,AbstractInstruction.UnboundInvokeInstruction,AbstractInstruction.UnboundLoadConstantInstruction,AbstractInstruction.UnboundLoadInstruction,AbstractInstruction.UnboundLookupSwitchInstruction,AbstractInstruction.UnboundMonitorInstruction,AbstractInstruction.UnboundNewMultidimensionalArrayInstruction,AbstractInstruction.UnboundNewObjectInstruction,AbstractInstruction.UnboundNewPrimitiveArrayInstruction,AbstractInstruction.UnboundNewReferenceArrayInstruction,AbstractInstruction.UnboundNopInstruction,AbstractInstruction.UnboundOperatorInstruction,AbstractInstruction.UnboundReturnInstruction,AbstractInstruction.UnboundStackInstruction,AbstractInstruction.UnboundStoreInstruction,AbstractInstruction.UnboundTableSwitchInstruction,AbstractInstruction.UnboundThrowInstruction,AbstractInstruction.UnboundTypeCheckInstruction,AbstractPseudoInstruction,AbstractPseudoInstruction.ExceptionCatchImpl,AbstractPseudoInstruction.UnboundCharacterRange,AbstractPseudoInstruction.UnboundLocalVariable,AbstractPseudoInstruction.UnboundLocalVariableType,BoundAttribute.BoundRuntimeInvisibleTypeAnnotationsAttribute,BoundAttribute.BoundRuntimeVisibleTypeAnnotationsAttribute,BoundAttribute.BoundStackMapTableAttribute,BoundCharacterRange,BoundLocalVariable,BoundLocalVariableType,CustomAttribute,LabelImpl,LineNumberImpl,UnboundAttribute.UnboundRuntimeInvisibleTypeAnnotationsAttribute,UnboundAttribute.UnboundRuntimeVisibleTypeAnnotationsAttribute,UnboundAttribute.UnboundStackMapTableAttribute
public sealed interface CodeElement
extends ClassfileElement
permits Instruction, PseudoInstruction, CustomAttribute<T>, RuntimeVisibleTypeAnnotationsAttribute, RuntimeInvisibleTypeAnnotationsAttribute, StackMapTableAttribute
A
ClassfileElement that can appear when traversing the elements
of a CodeModel or be presented to a CodeBuilder. Code elements
are either an Instruction, which models an instruction in the body
of a method, or a PseudoInstruction, which models metadata from
the code attribute, such as line number metadata, local variable metadata,
exception metadata, label target metadata, etc.