インタフェースjava.lang.classfile.attribute.ModuleMainClassAttributeの
使用
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfile
PREVIEWライブラリのクラス・ファイル属性を記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのModuleMainClassAttributePREVIEWの使用
修飾子と型フィールド説明static final AttributeMapperPREVIEW
<ModuleMainClassAttributePREVIEW> Attributes.MODULE_MAIN_CLASS
ModuleMainClass
属性の属性マッパー -
java.lang.classfile.attributePREVIEWでのModuleMainClassAttributePREVIEWの使用
修飾子と型メソッド説明ModuleMainClassAttribute.of
(ClassEntryPREVIEW mainClass) ModuleMainClass
属性を返します。ModuleMainClass
属性を返します。