Uses of Interface java.lang.classfile.attribute.ModulePackagesAttribute (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile.attribute, interface: ModulePackagesAttribute

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

Packages that use ModulePackagesAttributePREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of ModulePackagesAttributePREVIEW in java.lang.classfilePREVIEW

  Fields in java.lang.classfilePREVIEW with type parameters of type ModulePackagesAttributePREVIEW
  Modifier and Type
  Field
  Description
  `static final AttributeMapperPREVIEW<ModulePackagesAttributePREVIEW>`
  Attributes.`MODULE_PACKAGES`
  Attribute mapper for the `ModulePackages` attribute

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

  Methods in java.lang.classfile.attributePREVIEW that return ModulePackagesAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static ModulePackagesAttributePREVIEW`
  ModulePackagesAttribute.`of(PackageEntryPREVIEW... packages)`
  Returns a `ModulePackages` attribute.
  `static ModulePackagesAttributePREVIEW`
  ModulePackagesAttribute.`of(List<PackageEntryPREVIEW> packages)`
  Returns a `ModulePackages` attribute.
  `static ModulePackagesAttributePREVIEW`
  ModulePackagesAttribute.`ofNames(PackageDesc... packages)`
  Returns a `ModulePackages` attribute.
  `static ModulePackagesAttributePREVIEW`
  ModulePackagesAttribute.`ofNames(List<PackageDesc> packages)`
  Returns a `ModulePackages` attribute.