public class RecordComponentInfo extends SimpleProcessable
Modifier and Type | Field and Description |
---|---|
Attribute[] |
attributes |
Field |
referencedField
An extra field optionally pointing to the referenced Field object.
|
int |
u2attributesCount |
int |
u2descriptorIndex |
int |
u2nameIndex |
processingFlags, processingInfo
Constructor and Description |
---|
RecordComponentInfo()
Creates an uninitialized RecordComponentInfo.
|
RecordComponentInfo(int u2nameIndex,
int u2descriptorIndex,
int u2attributesCount,
Attribute[] attributes)
Creates an initialized RecordComponentInfo.
|
Modifier and Type | Method and Description |
---|---|
void |
attributesAccept(Clazz clazz,
AttributeVisitor attributeVisitor)
Applies the given attribute visitor to all attributes.
|
java.lang.String |
getDescriptor(Clazz clazz)
Returns the record component descriptor descriptor.
|
java.lang.String |
getName(Clazz clazz)
Returns the record component descriptor name.
|
void |
referencedFieldAccept(Clazz clazz,
MemberVisitor memberVisitor)
Lets the referenced class field accept the given visitor.
|
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
public int u2nameIndex
public int u2descriptorIndex
public int u2attributesCount
public Attribute[] attributes
public Field referencedField
ClassReferenceInitializer
.public RecordComponentInfo()
public RecordComponentInfo(int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes)
public java.lang.String getName(Clazz clazz)
public java.lang.String getDescriptor(Clazz clazz)
public void referencedFieldAccept(Clazz clazz, MemberVisitor memberVisitor)
public void attributesAccept(Clazz clazz, AttributeVisitor attributeVisitor)