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

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

Packages that use ModuleMainClassAttributePREVIEW
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 ModuleMainClassAttributePREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW that return types with arguments of type ModuleMainClassAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static AttributeMapperPREVIEW<ModuleMainClassAttributePREVIEW>`
  Attributes.`moduleMainClass()`
  Returns Attribute mapper for the `ModuleMainClass` attribute.

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

  Subinterfaces with type arguments of type ModuleMainClassAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `ModuleMainClassAttributePREVIEW`
  Preview.
  Models the `ModuleMainClass` attribute 4.7.27, which can appear on classes that represent module descriptors.
  Methods in java.lang.classfile.attributePREVIEW that return ModuleMainClassAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleMainClassAttributePREVIEW`
  ModuleMainClassAttribute.`of(ClassEntryPREVIEW mainClass)`
  Returns a `ModuleMainClass` attribute.
  `static ModuleMainClassAttributePREVIEW`
  ModuleMainClassAttribute.`of(ClassDesc mainClass)`
  Returns a `ModuleMainClass` attribute.