モジュール java.base
インタフェースDiscontinuedInstruction.JsrInstruction
- すべてのスーパー・インタフェース:
ClassFileElementPREVIEW,CodeElementPREVIEW,DiscontinuedInstructionPREVIEW,InstructionPREVIEW
- 含まれているインタフェース:
DiscontinuedInstructionPREVIEW
public static sealed interface DiscontinuedInstruction.JsrInstruction extends DiscontinuedInstructionPREVIEW
JsrInstructionは、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
クラス・ファイル・バージョン51.0以降、モデルJSRおよびJSR_W命令は、
Code属性のcode配列から廃止されました。 対応するopcodeのkindは、Opcode.Kind.DISCONTINUED_JSRPREVIEWになります。 CodeModelPREVIEWの要素をトラバースするときに、CodeElementPREVIEWとして提供されます。 - 導入されたバージョン:
- 22
-
ネストされたクラスのサマリー
インタフェースjava.lang.classfile.instruction.DiscontinuedInstructionPREVIEWで宣言されたネストされたクラス/インタフェース
DiscontinuedInstruction.JsrInstructionPREVIEW, DiscontinuedInstruction.RetInstructionPREVIEW -
メソッドのサマリー
インタフェースjava.lang.classfile.InstructionPREVIEWで宣言されたメソッド
opcode, sizeInBytes
-
メソッドの詳細
-
target
-
of
JSR命令を返します。- パラメータ:
op- 特定のタイプのJSR命令のopcode。Opcode.Kind.DISCONTINUED_JSRPREVIEW型である必要がありますtarget- サブルーチンのターゲット・ラベル- 戻り値:
- JSR命令
-
of
static DiscontinuedInstruction.JsrInstructionPREVIEW of(LabelPREVIEW target) JSR命令を返します。- パラメータ:
target- サブルーチンのターゲット・ラベル- 戻り値:
- JSR命令
-
JsrInstructionを使用できます。