モジュール 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_JSR
PREVIEWになります。 CodeModel
PREVIEWの要素をトラバースするときに、CodeElement
PREVIEWとして提供されます。 - 導入されたバージョン:
- 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_JSR
PREVIEW型である必要がありますtarget
- サブルーチンのターゲット・ラベル- 戻り値:
- JSR命令
-
of
static DiscontinuedInstruction.JsrInstructionPREVIEW of(LabelPREVIEW target) JSR命令を返します。- パラメータ:
target
- サブルーチンのターゲット・ラベル- 戻り値:
- JSR命令
-
JsrInstruction
を使用できます。