Uses of Interface java.lang.classfile.attribute.ModuleTargetAttribute (Java SE 22 & JDK 22)
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

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

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

  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.