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

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

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

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

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

  Subinterfaces with type arguments of type RecordAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `RecordAttributePREVIEW`
  Preview.
  Models the `Record` attribute 4.7.30, which can appear on classes to indicate that this class is a record class.
  Methods in java.lang.classfile.attributePREVIEW that return RecordAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static RecordAttributePREVIEW`
  RecordAttribute.`of(RecordComponentInfoPREVIEW... components)`
  Returns a `Record` attribute.
  `static RecordAttributePREVIEW`
  RecordAttribute.`of(List<RecordComponentInfoPREVIEW> components)`
  Returns a `Record` attribute.