Uses of Interface
java.lang.classfile.attribute.ModuleRequireInfo
Package
Description
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of ModuleRequireInfoPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionstatic 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.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.Modifier and TypeMethodDescriptionModuleAttribute.requires()
Returns the modules required by this module.Modifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.requires
(ModuleRequireInfoPREVIEW requires) Adds module requirementModifier 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.