列挙型クラス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 CodeBuilderCodeBuilder.fieldAccess(Opcode opcode, FieldRefEntry ref) フィールドにアクセスするための指示を生成します。default CodeBuilderCodeBuilder.fieldAccess(Opcode opcode, ClassDesc owner, String name, ClassDesc type) フィールドにアクセスするための指示を生成します。default CodeBuilderCodeBuilder.ifThen(Opcode opcode, Consumer<CodeBuilder.BlockCodeBuilder> thenHandler) 指定されたopcodeに従って、オペランド・スタックの上にあるthevalue(s)に条件付き"if-then"ブロックを追加します。default CodeBuilderCodeBuilder.ifThenElse(Opcode opcode, Consumer<CodeBuilder.BlockCodeBuilder> thenHandler, Consumer<CodeBuilder.BlockCodeBuilder> elseHandler) 指定されたopcodeに従って、オペランド・スタックの上にあるthevalue(s)に条件付き"if-then-else"ブロックを追加します。default CodeBuilderCodeBuilder.invoke(Opcode opcode, MemberRefEntry ref) メソッドを呼び出す命令を生成します。default CodeBuilderCodeBuilder.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 FieldInstructionFieldInstruction.of(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType) フィールド・アクセス指示を返します。static FieldInstructionFieldInstruction.of(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type) フィールド・アクセス指示を返します。static FieldInstructionFieldInstruction.of(Opcode op, FieldRefEntry field) フィールド・アクセス指示を返します。static InvokeInstructionInvokeInstruction.of(Opcode op, ClassEntry owner, NameAndTypeEntry nameAndType, boolean isInterface) invocation instructionを返します。static InvokeInstructionInvokeInstruction.of(Opcode op, ClassEntry owner, Utf8Entry name, Utf8Entry type, boolean isInterface) invocation instructionを返します。static InvokeInstructionInvokeInstruction.of(Opcode op, MemberRefEntry method) invocation instructionを返します。static LoadInstructionローカル変数ロード命令を返します。static MonitorInstructionモニター命令を返します。static OperatorInstructionオペレータ命令を返します。static ReturnInstruction戻り命令を返します。static StackInstructionスタック操作命令を返します。static StoreInstructionローカル変数ストア命令を返します。static TypeCheckInstructionTypeCheckInstruction.of(Opcode op, ClassEntry type) 型チェック命令を返します。static TypeCheckInstruction型チェック命令を返します。ConstantInstruction.ofArgument(Opcode op, int value) 引数定数命令を返します。ConstantInstruction.ofIntrinsic(Opcode op) 組み込み定数命令を返します。ConstantInstruction.ofLoad(Opcode op, LoadableConstantEntry constant) ロード定数命令を返します。