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

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

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

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

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

  Subinterfaces with type arguments of type ModuleTargetAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `ModuleTargetAttributePREVIEW`
  Preview.
  Models the `ModuleTarget` attribute, which can appear on classes that represent module descriptors.
  Methods in java.lang.classfile.attributePREVIEW that return ModuleTargetAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleTargetAttributePREVIEW`
  ModuleTargetAttribute.`of(Utf8EntryPREVIEW targetPlatform)`
  Returns a `ModuleTarget` attribute.
  `static ModuleTargetAttributePREVIEW`
  ModuleTargetAttribute.`of(String targetPlatform)`
  Returns a `ModuleTarget` attribute.