Uses of Interface
java.lang.constant.ModuleDesc
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.Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.-
Uses of ModuleDesc in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, int exportsFlagsMask, ModuleDesc... exportsToModules) Adds exported packageModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, Collection<AccessFlag> exportsFlags, ModuleDesc... exportsToModules) Adds exported packageModuleAttribute.ModuleAttributeBuilder.moduleName
(ModuleDesc moduleName) Sets the module namestatic ModuleAttributePREVIEW
ModuleAttribute.of
(ModuleDesc moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilderPREVIEW> attrHandler) Returns aModule
attribute.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleHashInfoPREVIEW
ModuleHashInfo.of
(ModuleDesc moduleDesc, byte[] hash) Returns a module hash description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleRequireInfoPREVIEW
ModuleRequireInfo.of
(ModuleDesc requires, int requiresFlags, String requiresVersion) Returns a module requirement description.static ModuleRequireInfoPREVIEW
ModuleRequireInfo.of
(ModuleDesc requires, Collection<AccessFlag> requiresFlags, String requiresVersion) Returns a module requirement description.ModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, int opensFlagsMask, ModuleDesc... opensToModules) Opens packageModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, Collection<AccessFlag> opensFlags, ModuleDesc... opensToModules) Opens packageModuleAttribute.ModuleAttributeBuilder.requires
(ModuleDesc module, int requiresFlagsMask, String version) Adds module requirementModuleAttribute.ModuleAttributeBuilder.requires
(ModuleDesc module, Collection<AccessFlag> requiresFlags, String version) Adds module requirementModifier and TypeMethodDescriptionstatic ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, List<ModuleDesc> opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, List<ModuleDesc> opensTo) Returns a module open description. -
Uses of ModuleDesc in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionModuleEntry.asSymbol()
Returns a symbolic descriptor for the module.Modifier and TypeMethodDescriptiondefault ModuleEntryPREVIEW
ConstantPoolBuilder.moduleEntry
(ModuleDesc moduleDesc) -
Uses of ModuleDesc in java.lang.constant
Modifier and TypeMethodDescriptionstatic ModuleDesc
Returns aModuleDesc
for a module, given the name of the module.