インタフェースjava.lang.classfile.constantpool.MethodRefEntryの
使用
MethodRefEntryPREVIEWを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfilePREVIEWライブラリのクラス・ファイル定数プール・エントリを記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのMethodRefEntryPREVIEWの使用
MethodRefEntryPREVIEW型のパラメータを持つjava.lang.classfilePREVIEWのメソッド修飾子と型メソッド説明default CodeBuilderPREVIEWCodeBuilder.invokespecial(MethodRefEntryPREVIEW ref) インスタンス・メソッドを起動する命令を生成します。現在のクラスとそのスーパータイプのインスタンス初期化メソッドとメソッドを直接起動します。default CodeBuilderPREVIEWCodeBuilder.invokestatic(MethodRefEntryPREVIEW ref) クラス(static)メソッドを起動する命令を生成します。default CodeBuilderPREVIEWCodeBuilder.invokevirtual(MethodRefEntryPREVIEW ref) インスタンス・メソッドを起動する命令を生成します。クラスに基づいてディスパッチします。 -
java.lang.classfile.constantpoolPREVIEWでのMethodRefEntryPREVIEWの使用
修飾子と型メソッド説明ConstantPoolBuilder.methodRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType) クラスのメソッドを記述するMethodRefEntryPREVIEWを返します。default MethodRefEntryPREVIEWConstantPoolBuilder.methodRefEntry(ClassDesc owner, String name, MethodTypeDesc type) クラスのメソッドを記述するMethodRefEntryPREVIEWを返します。