Interface CodeElement

All Superinterfaces:
ClassFileElement
All Known Subinterfaces:
ArrayLoadInstruction, ArrayStoreInstruction, BranchInstruction, CharacterRange, ConstantInstruction, ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction, ConvertInstruction, DiscontinuedInstruction, DiscontinuedInstruction.JsrInstruction, DiscontinuedInstruction.RetInstruction, 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.BoundJsrInstruction, AbstractInstruction.BoundLoadConstantInstruction, AbstractInstruction.BoundLoadInstruction, AbstractInstruction.BoundLookupSwitchInstruction, AbstractInstruction.BoundNewMultidimensionalArrayInstruction, AbstractInstruction.BoundNewObjectInstruction, AbstractInstruction.BoundNewPrimitiveArrayInstruction, AbstractInstruction.BoundNewReferenceArrayInstruction, AbstractInstruction.BoundRetInstruction, 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.UnboundJsrInstruction, AbstractInstruction.UnboundLoadConstantInstruction, AbstractInstruction.UnboundLoadInstruction, AbstractInstruction.UnboundLookupSwitchInstruction, AbstractInstruction.UnboundMonitorInstruction, AbstractInstruction.UnboundNewMultidimensionalArrayInstruction, AbstractInstruction.UnboundNewObjectInstruction, AbstractInstruction.UnboundNewPrimitiveArrayInstruction, AbstractInstruction.UnboundNewReferenceArrayInstruction, AbstractInstruction.UnboundNopInstruction, AbstractInstruction.UnboundOperatorInstruction, AbstractInstruction.UnboundRetInstruction, 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

A marker interface for elements that can appear when traversing 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.
Since:
22