RecordAttribute.
SignatureAttribute, RuntimeVisibleAnnotationsAttribute,
RuntimeInvisibleAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, and RuntimeInvisibleTypeAnnotationsAttribute are the only predefined attributes
that may exist on record components.
Record Attribute
RecordAttribute#components(), RecordComponent
| Modifier and Type | Method and Description |
|---|---|
| public Utf8Entry | Returns: the field descriptor string of this componentReturns the field descriptor string of this component. |
| public default ClassDesc | Returns: the symbolic field descriptor of this componentReturns the symbolic field descriptor of this component. |
| public Utf8Entry | |
| public static RecordComponentInfo | |
| public static RecordComponentInfo | |
| public static RecordComponentInfo | |
| public static RecordComponentInfo |
| descriptor | back to summary |
|---|---|
| public Utf8Entry descriptor() Returns the field descriptor string of this component. API Note A record component may have a generic type; this information is stored
in the
| |
| descriptorSymbol | back to summary |
|---|---|
| public default ClassDesc descriptorSymbol() Returns the symbolic field descriptor of this component. API Note A record component may have a generic type; this information is stored
in the
| |
| name | back to summary |
|---|---|
| public Utf8Entry name() Returns the name of this component.
| |
| of | back to summary |
|---|---|
| public static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, List<Attribute<?>> attributes) Returns a record component description.
| |
| of | back to summary |
|---|---|
| public static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, Attribute<?>... attributes) Returns a record component description.
| |
| of | back to summary |
|---|---|
| public static RecordComponentInfo of(String name, ClassDesc descriptor, List<Attribute<?>> attributes) Returns a record component description.
| |
| of | back to summary |
|---|---|
| public static RecordComponentInfo of(String name, ClassDesc descriptor, Attribute<?>... attributes) Returns a record component description.
| |