インタフェースjava.lang.classfile.attribute.EnclosingMethodAttributeの
使用
EnclosingMethodAttributePREVIEWを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfilePREVIEWライブラリのクラス・ファイル属性を記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのEnclosingMethodAttributePREVIEWの使用
EnclosingMethodAttributePREVIEW型の型パラメータを持つjava.lang.classfilePREVIEW内のフィールド修飾子と型フィールド説明static final AttributeMapperPREVIEW<EnclosingMethodAttributePREVIEW> Attributes.ENCLOSING_METHODEnclosingMethod属性の属性マッパー -
java.lang.classfile.attributePREVIEWでのEnclosingMethodAttributePREVIEWの使用
修飾子と型メソッド説明EnclosingMethodAttribute.of(ClassEntryPREVIEW className, Optional<NameAndTypeEntryPREVIEW> method) EnclosingMethod属性を返します。EnclosingMethodAttribute.of(ClassDesc className, Optional<String> methodName, Optional<MethodTypeDesc> methodType) EnclosingMethod属性を返します。