Uses of Interface
java.lang.classfile.constantpool.ModuleEntry
Packages that use ModuleEntry
Package
Description
Provides interfaces describing
class
file attributes for the java.lang.classfile
library.Provides interfaces describing constant pool entries for the
java.lang.classfile
library.-
Uses of ModuleEntry in java.lang.classfile.attribute
Methods in java.lang.classfile.attribute that return ModuleEntryModifier 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.Methods in java.lang.classfile.attribute that return types with arguments of type ModuleEntryModifier and TypeMethodDescriptionModuleExportInfo.exportsTo()
Returns the list of modules to which this package is exported, or empty if this is an unqualified export.ModuleOpenInfo.opensTo()
Returns the modules to which this package is opened, or empty if this is an unqualified open.Methods in java.lang.classfile.attribute with parameters of type ModuleEntryModifier and TypeMethodDescriptionstatic ModuleAttribute
ModuleAttribute.of
(ModuleEntry moduleName, int moduleFlags, Utf8Entry moduleVersion, Collection<ModuleRequireInfo> requires, Collection<ModuleExportInfo> exports, Collection<ModuleOpenInfo> opens, Collection<ClassEntry> uses, Collection<ModuleProvideInfo> provides) Returns aModule
attribute.static ModuleAttribute
ModuleAttribute.of
(ModuleEntry moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilder> attrHandler) Returns aModule
attribute.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, int exportFlags, ModuleEntry... exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, Collection<AccessFlag> exportFlags, ModuleEntry... exportsTo) Returns a module export description.static ModuleHashInfo
ModuleHashInfo.of
(ModuleEntry moduleName, byte[] hash) Returns a module hash description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, int opensFlags, ModuleEntry... opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, Collection<AccessFlag> opensFlags, ModuleEntry... opensTo) Returns a module open description.static ModuleRequireInfo
ModuleRequireInfo.of
(ModuleEntry requires, int requiresFlags, Utf8Entry requiresVersion) Returns a module requirement description.static ModuleRequireInfo
ModuleRequireInfo.of
(ModuleEntry requires, Collection<AccessFlag> requiresFlags, Utf8Entry requiresVersion) Returns a module requirement description.Method parameters in java.lang.classfile.attribute with type arguments of type ModuleEntryModifier and TypeMethodDescriptionstatic ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, int exportFlags, List<ModuleEntry> exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, Collection<AccessFlag> exportFlags, List<ModuleEntry> exportsTo) Returns a module export description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, int opensFlags, List<ModuleEntry> opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, Collection<AccessFlag> opensFlags, List<ModuleEntry> opensTo) Returns a module open description. -
Uses of ModuleEntry in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return ModuleEntryModifier and TypeMethodDescriptionConstantPoolBuilder.moduleEntry
(Utf8Entry moduleName) Returns aModuleEntry
referring to the providedUtf8Entry
.default ModuleEntry
ConstantPoolBuilder.moduleEntry
(ModuleDesc moduleDesc) Returns aModuleEntry
describing the same module as the providedModuleDesc
.