Interface Instruction

All Superinterfaces:
ClassfileElement, CodeElement
All Known Subinterfaces:
ArrayLoadInstruction, ArrayStoreInstruction, BranchInstruction, ConstantInstruction, ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction, ConvertInstruction, FieldInstruction, IncrementInstruction, InvokeDynamicInstruction, InvokeInstruction, LoadInstruction, LookupSwitchInstruction, MonitorInstruction, NewMultiArrayInstruction, NewObjectInstruction, NewPrimitiveArrayInstruction, NewReferenceArrayInstruction, NopInstruction, OperatorInstruction, ReturnInstruction, StackInstruction, 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

Models an executable instruction in a method body.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the opcode of this instruction.
    int
    Returns the size in bytes of this instruction.
  • Method Details

    • opcode

      Opcode opcode()
      Returns the opcode of this instruction.
      Returns:
      the opcode of this instruction
    • sizeInBytes

      int sizeInBytes()
      Returns the size in bytes of this instruction.
      Returns:
      the size in bytes of this instruction