Interface RecordComponentInfo
- All Superinterfaces:
- AttributedElement,- ClassFileElement
Models a single record component in the 
RecordAttribute.
 
 SignatureAttribute, RuntimeVisibleAnnotationsAttribute,
 RuntimeInvisibleAnnotationsAttribute, RuntimeVisibleTypeAnnotationsAttribute, and RuntimeInvisibleTypeAnnotationsAttribute are the only predefined attributes
 that may exist on record components.
- See Java Virtual Machine Specification:
- 
4.7.30 The RecordAttribute
- Since:
- 24
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturns the field descriptor string of this component.default ClassDescReturns the symbolic field descriptor of this component.name()Returns the name of this component.static RecordComponentInfoReturns a record component description.static RecordComponentInfoReturns a record component description.static RecordComponentInfoReturns a record component description.static RecordComponentInfoReturns a record component description.Methods declared in interface java.lang.classfile.AttributedElementattributes, findAttribute, findAttributes
- 
Method Details- 
name
- 
descriptor
- 
descriptorSymbol
- 
ofReturns a record component description.- Parameters:
- name- the component name
- descriptor- the component field descriptor string
- attributes- the component attributes
- Returns:
- a record component description
 
- 
ofReturns a record component description.- Parameters:
- name- the component name
- descriptor- the component field descriptor sting
- attributes- the component attributes
- Returns:
- a record component description
 
- 
ofReturns a record component description.- Parameters:
- name- the component name
- descriptor- the component symbolic field descriptor
- attributes- the component attributes
- Returns:
- a record component description
 
- 
ofReturns a record component description.- Parameters:
- name- the component name
- descriptor- the component symbolic field descriptor
- attributes- the component attributes
- Returns:
- a record component description
 
 
-