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

Packages that use RecordComponentInfoPREVIEW
Package
Description
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

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

  Methods in java.lang.classfile.attributePREVIEW that return RecordComponentInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static RecordComponentInfoPREVIEW`
  RecordComponentInfo.`of(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, AttributePREVIEW<?>... attributes)`
  Returns a record component description.
  `static RecordComponentInfoPREVIEW`
  RecordComponentInfo.`of(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, List<AttributePREVIEW<?>> attributes)`
  Returns a record component description.
  `static RecordComponentInfoPREVIEW`
  RecordComponentInfo.`of(String name, ClassDesc descriptor, AttributePREVIEW<?>... attributes)`
  Returns a record component description.
  `static RecordComponentInfoPREVIEW`
  RecordComponentInfo.`of(String name, ClassDesc descriptor, List<AttributePREVIEW<?>> attributes)`
  Returns a record component description.
  Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type RecordComponentInfoPREVIEW
  Modifier and Type
  Method
  Description
  `List<RecordComponentInfoPREVIEW>`
  RecordAttribute.`components()`
  Returns the components of this record class.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type RecordComponentInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static RecordAttributePREVIEW`
  RecordAttribute.`of(RecordComponentInfoPREVIEW... components)`
  Returns a `Record` attribute.
  Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type RecordComponentInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static RecordAttributePREVIEW`
  RecordAttribute.`of(List<RecordComponentInfoPREVIEW> components)`
  Returns a `Record` attribute.