Uses of Interface
java.lang.classfile.constantpool.ModuleEntry
Package
Description
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.-
Uses of ModuleEntryPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionModuleAttribute.moduleName()
Returns the name of the module.ModuleHashInfo.moduleName()
Returns the name of the related module.ModuleRequireInfo.requires()
Returns The module on which the current module depends.Modifier and TypeMethodDescriptionModuleExportInfo.exportsTo()
Returns the list of modules to which this package is exported, if it is a qualified export.ModuleOpenInfo.opensTo()
The list of modules to which this package is opened, if it is a qualified open.Modifier and TypeMethodDescriptionstatic ModuleAttributePREVIEW
ModuleAttribute.of
(ModuleEntryPREVIEW moduleName, int moduleFlags, Utf8EntryPREVIEW moduleVersion, Collection<ModuleRequireInfoPREVIEW> requires, Collection<ModuleExportInfoPREVIEW> exports, Collection<ModuleOpenInfoPREVIEW> opens, Collection<ClassEntryPREVIEW> uses, Collection<ModuleProvideInfoPREVIEW> provides) Returns aModule
attribute.static ModuleAttributePREVIEW
ModuleAttribute.of
(ModuleEntryPREVIEW moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilderPREVIEW> attrHandler) Returns aModule
attribute.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, int exportFlags, ModuleEntryPREVIEW... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, ModuleEntryPREVIEW... exportsTo) Returns a module export description.static ModuleHashInfoPREVIEW
ModuleHashInfo.of
(ModuleEntryPREVIEW moduleName, byte[] hash) Returns a module hash description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, int opensFlags, ModuleEntryPREVIEW... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, ModuleEntryPREVIEW... opensTo) Returns a module open description.static ModuleRequireInfoPREVIEW
ModuleRequireInfo.of
(ModuleEntryPREVIEW requires, int requiresFlags, Utf8EntryPREVIEW requiresVersion) Returns a module requirement description.static ModuleRequireInfoPREVIEW
ModuleRequireInfo.of
(ModuleEntryPREVIEW requires, Collection<AccessFlag> requiresFlags, Utf8EntryPREVIEW requiresVersion) Returns a module requirement description.Modifier and TypeMethodDescriptionstatic ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, int exportFlags, List<ModuleEntryPREVIEW> exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, List<ModuleEntryPREVIEW> exportsTo) Returns a module export description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, int opensFlags, List<ModuleEntryPREVIEW> opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, List<ModuleEntryPREVIEW> opensTo) Returns a module open description. -
Uses of ModuleEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionConstantPoolBuilder.moduleEntry
(Utf8EntryPREVIEW moduleName) default ModuleEntryPREVIEW
ConstantPoolBuilder.moduleEntry
(ModuleDesc moduleDesc)