Module java.base
Package java.lang.classfile.attribute

# Interface RecordComponentInfo

≠
public abstract sealed interface RecordComponentInfo
extends java.lang.classfile.AttributedElement
permits jdk.internal.classfile.impl.BoundRecordComponentInfo, jdk.internal.classfile.impl.UnboundAttribute.UnboundRecordComponentInfo

## Methods

- =
  public abstract java.lang.classfile.constantpool.Utf8Entry descriptor()
- =
  public default java.lang.constant.ClassDesc descriptorSymbol()
- =
  public abstract java.lang.classfile.constantpool.Utf8Entry name()
- ≠
  public static java.lang.classfile.attribute.RecordComponentInfo of(java.lang.String arg0, java.lang.constant.ClassDesc arg1, java.lang.classfile.Attribute<?>[] arg2)
  Comparing jdk-master and valhalla-csr-open

  ### of

  static RecordComponentInfo of (String name, ClassDesc descriptor, AttributePREVIEW <?>... attributes)
  Returns a record component description.
  Parameters:
    `name` - the component name
    `descriptor` - the component symbolic field descriptor
    `attributes` - the component attributes
  Returns:
    a record component description
  Throws:
    `IllegalArgumentException` - if the number of attributes exceeds the limit of `u2`
- ≠
  public static java.lang.classfile.attribute.RecordComponentInfo of(java.lang.String arg0, java.lang.constant.ClassDesc arg1, java.util.List<java.lang.classfile.Attribute<?>> arg2)
  Comparing jdk-master and valhalla-csr-open

  ### of

  static RecordComponentInfo of (String name, ClassDesc descriptor, List<AttributePREVIEW <?>> attributes)
  Returns a record component description.
  Parameters:
    `name` - the component name
    `descriptor` - the component symbolic field descriptor
    `attributes` - the component attributes
  Returns:
    a record component description
  Throws:
    `IllegalArgumentException` - if the number of attributes exceeds the limit of `u2`
- ≠
  public static java.lang.classfile.attribute.RecordComponentInfo of(java.lang.classfile.constantpool.Utf8Entry arg0, java.lang.classfile.constantpool.Utf8Entry arg1, java.lang.classfile.Attribute<?>[] arg2)
  Comparing jdk-master and valhalla-csr-open

  ### of

  static RecordComponentInfo of (Utf8Entry name, Utf8Entry descriptor, AttributePREVIEW <?>... attributes)
  Returns a record component description.
  Parameters:
    `name` - the component name
    `descriptor` - the component field descriptor sting
    `attributes` - the component attributes
  Returns:
    a record component description
  Throws:
    `IllegalArgumentException` - if the number of attributes exceeds the limit of `u2`
- ≠
  public static java.lang.classfile.attribute.RecordComponentInfo of(java.lang.classfile.constantpool.Utf8Entry arg0, java.lang.classfile.constantpool.Utf8Entry arg1, java.util.List<java.lang.classfile.Attribute<?>> arg2)
  Comparing jdk-master and valhalla-csr-open

  ### of

  static RecordComponentInfo of (Utf8Entry name, Utf8Entry descriptor, List<AttributePREVIEW <?>> attributes)
  Returns a record component description.
  Parameters:
    `name` - the component name
    `descriptor` - the component field descriptor string
    `attributes` - the component attributes
  Returns:
    a record component description
  Throws:
    `IllegalArgumentException` - if the number of attributes exceeds the limit of `u2`

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
of(String,ClassDesc,Attribute[]) |  |  |  |  |  |  | 1 |  |  | 1
of(String,ClassDesc,List) |  |  |  |  |  |  | 1 |  |  | 1
of(Utf8Entry,Utf8Entry,Attribute[]) |  |  |  |  |  |  | 1 |  |  | 1
of(Utf8Entry,Utf8Entry,List) |  |  |  |  |  |  | 1 |  |  | 1
Total |  |  |  |  |  |  | 4 |  |  | 4