列挙型クラスjava.lang.classfile.Opcodeの
使用
Opcodeを使用するパッケージ
-
java.lang.classfileでのOpcodeの使用
java.lang.classfileの型Opcodeの型引数を持つサブクラスOpcodeを返すjava.lang.classfileのメソッド修飾子と型メソッド説明Instruction.opcode()
この命令の操作を返します。static Opcode
指定された名前を持つこのクラスのenum定数を返します。static Opcode[]
Opcode.values()
この列挙クラスの定数を含む配列を宣言されている順序で 返します。型Opcodeのパラメータを持つjava.lang.classfileのメソッド修飾子と型メソッド説明default CodeBuilder
ブランチ命令を生成します。default CodeBuilder
CodeBuilder.fieldAccess
(Opcode opcode, FieldRefEntry ref) フィールドにアクセスするための指示を生成します。default CodeBuilder
CodeBuilder.fieldAccess
(Opcode opcode, ClassDesc owner, String name, ClassDesc type) フィールドにアクセスするための指示を生成します。default CodeBuilder
CodeBuilder.ifThen
(Opcode opcode, Consumer<CodeBuilder.BlockCodeBuilder> thenHandler) 指定されたopcodeに従って、オペランド・スタックの上にあるthevalue(s)に条件付き"if-then"ブロックを追加します。default CodeBuilder
CodeBuilder.ifThenElse
(Opcode opcode, Consumer<CodeBuilder.BlockCodeBuilder> thenHandler, Consumer<CodeBuilder.BlockCodeBuilder> elseHandler) 指定されたopcodeに従って、オペランド・スタックの上にあるthevalue(s)に条件付き"if-then-else"ブロックを追加します。default CodeBuilder
CodeBuilder.invoke
(Opcode opcode, MemberRefEntry ref) メソッドを呼び出す命令を生成します。default CodeBuilder
CodeBuilder.invoke
(Opcode opcode, ClassDesc owner, String name, MethodTypeDesc desc, boolean isInterface) メソッドを呼び出す命令を生成します。 -
java.lang.classfile.instructionでのOpcodeの使用
型Opcodeのパラメータを持つjava.lang.classfile.instructionのメソッド修飾子と型メソッド説明static ArrayLoadInstruction
配列のロード命令を返します。static ArrayStoreInstruction
配列ストア命令を返します。static BranchInstruction
分岐命令を返します。static ConvertInstruction
変換命令を返します。ジャンプ・サブルーチン命令を返します。サブルーチン命令からの戻り値を返します。static FieldInstruction
FieldInstruction.of
(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType) フィールド・アクセス指示を返します。static FieldInstruction
FieldInstruction.of
(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type) フィールド・アクセス指示を返します。static FieldInstruction
FieldInstruction.of
(Opcode op, FieldRefEntry field) フィールド・アクセス指示を返します。static InvokeInstruction
InvokeInstruction.of
(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType, boolean isInterface) invocation instructionを返します。static InvokeInstruction
InvokeInstruction.of
(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type, boolean isInterface) invocation instructionを返します。static InvokeInstruction
InvokeInstruction.of
(Opcode op, MemberRefEntry method) invocation instructionを返します。static LoadInstruction
ローカル変数ロード命令を返します。static MonitorInstruction
モニター命令を返します。static OperatorInstruction
オペレータ命令を返します。static ReturnInstruction
戻り命令を返します。static StackInstruction
スタック操作命令を返します。static StoreInstruction
ローカル変数ストア命令を返します。static TypeCheckInstruction
TypeCheckInstruction.of
(Opcode op, ClassEntry type) 型チェック命令を返します。static TypeCheckInstruction
型チェック命令を返します。ConstantInstruction.ofArgument
(Opcode op, int value) 引数定数命令を返します。ConstantInstruction.ofIntrinsic
(Opcode op) 組み込み定数命令を返します。ConstantInstruction.ofLoad
(Opcode op, LoadableConstantEntry constant) ロード定数命令を返します。