インタフェース指示
- すべてのスーパー・インタフェース:
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
public sealed interface Instruction extends CodeElement permits ArrayLoadInstruction, ArrayStoreInstruction, BranchInstruction, ConstantInstruction, ConvertInstruction, DiscontinuedInstruction, FieldInstruction, InvokeDynamicInstruction, InvokeInstruction, LoadInstruction, StoreInstruction, IncrementInstruction, LookupSwitchInstruction, MonitorInstruction, NewMultiArrayInstruction, NewObjectInstruction, NewPrimitiveArrayInstruction, NewReferenceArrayInstruction, NopInstruction, OperatorInstruction, ReturnInstruction, StackInstruction, TableSwitchInstruction, ThrowInstruction, TypeCheckInstruction (not exhaustive)
メソッドの
Code
属性のcode
配列内の実行可能命令をモデル化します。 CodeModel
の命令の順序は重要です。
opcode
は、命令の操作を識別します。 opcodeの各kindには、指示のための独自のモデリング・インタフェースがあります。
- Java Virtual Machine仕様を参照してください:
-
6.5 手順
- シール済クラス階層グラフ:
- 導入されたバージョン:
- 24
- 関連項目:
-
メソッドのサマリー
-
メソッドの詳細
-
opcode
-
sizeInBytes
int sizeInBytes()この命令のサイズをバイト単位で返します。 この値は、-1
でない場合はopcode().sizeIfFixed()
と等しくなります。- 戻り値:
- この命令のサイズ(バイト単位)
-