インタフェースjava.lang.classfile.constantpool.ModuleEntryの
使用
ModuleEntryPREVIEWを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfilePREVIEWライブラリのクラス・ファイル属性を記述するインタフェースを提供します。java.lang.classfilePREVIEWライブラリのクラス・ファイル定数プール・エントリを記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのModuleEntryPREVIEWの使用
修飾子と型メソッド説明ClassReader.readModuleEntry(int offset) クラス・ファイル内で指定されたオフセットでインデックスが指定されたモジュール・エントリを返します。 -
java.lang.classfile.attributePREVIEWでのModuleEntryPREVIEWの使用
修飾子と型メソッド説明ModuleAttribute.moduleName()モジュールの名前を返します。ModuleHashInfo.moduleName()関連モジュールの名前を返します。ModuleRequireInfo.requires()現在のモジュールが依存するモジュールを返します。ModuleEntryPREVIEW型の引数を持つ型を返すjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明ModuleExportInfo.exportsTo()修飾されたエクスポートの場合、このパッケージがエクスポートされるモジュールのリストを返します。ModuleOpenInfo.opensTo()このパッケージが開かれているモジュールのリスト(修飾された開かれている場合)。ModuleEntryPREVIEW型のパラメータを持つjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明static ModuleAttributePREVIEWModuleAttribute.of(ModuleEntryPREVIEW moduleName, int moduleFlags, Utf8EntryPREVIEW moduleVersion, Collection<ModuleRequireInfoPREVIEW> requires, Collection<ModuleExportInfoPREVIEW> exports, Collection<ModuleOpenInfoPREVIEW> opens, Collection<ClassEntryPREVIEW> uses, Collection<ModuleProvideInfoPREVIEW> provides) Module属性を返します。static ModuleAttributePREVIEWModuleAttribute.of(ModuleEntryPREVIEW moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilderPREVIEW> attrHandler) Module属性を返します。static ModuleExportInfoPREVIEWModuleExportInfo.of(PackageEntryPREVIEW exports, int exportFlags, ModuleEntryPREVIEW... exportsTo) モジュールのエクスポートの説明を返します。static ModuleExportInfoPREVIEWModuleExportInfo.of(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, ModuleEntryPREVIEW... exportsTo) モジュールのエクスポートの説明を返します。static ModuleHashInfoPREVIEWModuleHashInfo.of(ModuleEntryPREVIEW moduleName, byte[] hash) モジュール・ハッシュの説明を返します。static ModuleOpenInfoPREVIEWModuleOpenInfo.of(PackageEntryPREVIEW opens, int opensFlags, ModuleEntryPREVIEW... opensTo) モジュール・オープン摘要を返します。static ModuleOpenInfoPREVIEWModuleOpenInfo.of(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, ModuleEntryPREVIEW... opensTo) モジュール・オープン摘要を返します。static ModuleRequireInfoPREVIEWModuleRequireInfo.of(ModuleEntryPREVIEW requires, int requiresFlags, Utf8EntryPREVIEW requiresVersion) モジュール要件の説明を返します。static ModuleRequireInfoPREVIEWModuleRequireInfo.of(ModuleEntryPREVIEW requires, Collection<AccessFlag> requiresFlags, Utf8EntryPREVIEW requiresVersion) モジュール要件の説明を返します。ModuleEntryPREVIEW型の型引数を持つjava.lang.classfile.attributePREVIEWのメソッド・パラメータ修飾子と型メソッド説明static ModuleExportInfoPREVIEWModuleExportInfo.of(PackageEntryPREVIEW exports, int exportFlags, List<ModuleEntryPREVIEW> exportsTo) モジュールのエクスポートの説明を返します。static ModuleExportInfoPREVIEWModuleExportInfo.of(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, List<ModuleEntryPREVIEW> exportsTo) モジュールのエクスポートの説明を返します。static ModuleOpenInfoPREVIEWModuleOpenInfo.of(PackageEntryPREVIEW opens, int opensFlags, List<ModuleEntryPREVIEW> opensTo) モジュール・オープン摘要を返します。static ModuleOpenInfoPREVIEWModuleOpenInfo.of(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, List<ModuleEntryPREVIEW> opensTo) モジュール・オープン摘要を返します。 -
java.lang.classfile.constantpoolPREVIEWでのModuleEntryPREVIEWの使用
修飾子と型メソッド説明ConstantPoolBuilder.moduleEntry(Utf8EntryPREVIEW moduleName) 指定されたUtf8EntryPREVIEWに名前がエンコードされているモジュールを記述するModuleEntryPREVIEWを返します。default ModuleEntryPREVIEWConstantPoolBuilder.moduleEntry(ModuleDesc moduleDesc) 指定されたModuleDescで説明されているモジュールを記述するModuleEntryPREVIEWを返します。