Uses of Class
java.lang.reflect.RecordComponent
| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
-
Uses of RecordComponent in java.lang
Methods in java.lang that return RecordComponent Modifier and Type Method Description RecordComponent[]Class. getRecordComponents()Associated with records, a preview feature of the Java language.
Returns an array ofRecordComponentobjects representing all the record components of this record class, ornullif this class is not a record class.