# Uses of Interface
java.lang.classfile.attribute.ModuleOpenInfo

Packages that use ModuleOpenInfoPREVIEW
Package
Description
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of ModuleOpenInfoPREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return ModuleOpenInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleOpenInfoPREVIEW`
  ModuleOpenInfo.`of(PackageEntryPREVIEW opens, int opensFlags, ModuleEntryPREVIEW... opensTo)`
  Returns a module open 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, ModuleEntryPREVIEW... opensTo)`
  Returns a module open description.
  `static ModuleOpenInfoPREVIEW`
  ModuleOpenInfo.`of(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, List<ModuleEntryPREVIEW> opensTo)`
  Returns a module open description.
  `static ModuleOpenInfoPREVIEW`
  ModuleOpenInfo.`of(PackageDesc opens, int opensFlags, ModuleDesc... opensTo)`
  Returns a module open 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, ModuleDesc... opensTo)`
  Returns a module open description.
  `static ModuleOpenInfoPREVIEW`
  ModuleOpenInfo.`of(PackageDesc opens, Collection<AccessFlag> opensFlags, List<ModuleDesc> opensTo)`
  Returns a module open description.
  Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type ModuleOpenInfoPREVIEW
  Modifier and Type
  Method
  Description
  `List<ModuleOpenInfoPREVIEW>`
  ModuleAttribute.`opens()`
  Returns the packages opened by this module.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type ModuleOpenInfoPREVIEW
  Modifier and Type
  Method
  Description
  `ModuleAttribute.ModuleAttributeBuilderPREVIEW`
  ModuleAttribute.ModuleAttributeBuilder.`opens(ModuleOpenInfoPREVIEW opens)`
  Opens package