インタフェースOperatorInstruction
- すべてのスーパー・インタフェース:
ClassFileElement
,CodeElement
,Instruction
public sealed interface OperatorInstruction extends Instruction
Code
属性のcode
配列内の算術演算子命令をモデル化します。 対応するopcodesのkindはOpcode.Kind.OPERATOR
です。 CodeModel
の要素をトラバースするときに、CodeElement
として提供されます。
演算子命令はコンポジットです:
OperatorInstruction
(Opcode opcode
)
- 導入されたバージョン:
- 24
- 関連項目:
-
メソッドのサマリー
インタフェースjava.lang.classfile.Instructionで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
typeKind
-
of
static OperatorInstruction of(Opcode op) オペレータ命令を返します。- パラメータ:
op
- 特定のタイプの演算子命令のopcode。Opcode.Kind.OPERATOR
の種類である必要があります- 戻り値:
- オペレータ命令
- スロー:
IllegalArgumentException
- opcodeの種類がOpcode.Kind.OPERATOR
でない場合。
-