インタフェース指示

すべてのスーパー・インタフェース:
ClassFileElement, CodeElement
既知のすべてのサブインタフェース:
ArrayLoadInstruction, ArrayStoreInstruction, BranchInstruction, ConstantInstruction, ConstantInstruction.ArgumentConstantInstruction, ConstantInstruction.IntrinsicConstantInstruction, ConstantInstruction.LoadConstantInstruction, ConvertInstruction, DiscontinuedInstruction, DiscontinuedInstruction.JsrInstruction, DiscontinuedInstruction.RetInstruction, FieldInstruction, IncrementInstruction, InvokeDynamicInstruction, InvokeInstruction, LoadInstruction, LookupSwitchInstruction, MonitorInstruction, NewMultiArrayInstruction, NewObjectInstruction, NewPrimitiveArrayInstruction, NewReferenceArrayInstruction, NopInstruction, OperatorInstruction, ReturnInstruction, StackInstruction, StoreInstruction, TableSwitchInstruction, ThrowInstruction, TypeCheckInstruction

メソッドのCode属性のcode配列内の実行可能命令をモデル化します。 CodeModelの命令の順序は重要です。

opcodeは、命令の操作を識別します。 opcodeの各kindには、指示のための独自のモデリング・インタフェースがあります。

Java Virtual Machine仕様を参照してください:
6.5 手順
シール済クラス階層グラフ:
インストラクションのシール済クラス階層グラフインストラクションのシール済クラス階層グラフ
導入されたバージョン:
24
関連項目:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    この命令の操作を返します。
    int
    この命令のサイズをバイト単位で返します。
  • メソッドの詳細

    • opcode

      Opcode opcode()
      この命令の操作を返します。
      戻り値:
      この命令の操作
    • sizeInBytes

      int sizeInBytes()
      この命令のサイズをバイト単位で返します。 この値は、-1でない場合はopcode().sizeIfFixed()と等しくなります。
      戻り値:
      この命令のサイズ(バイト単位)