Package proguard.classfile.attribute
Class RecordComponentInfo
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.RecordComponentInfo
- All Implemented Interfaces:
Serializable,Processable
Representation of a record component entry.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn extra field optionally pointing to the referenced Field object.intintintFields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo -
Constructor Summary
ConstructorsConstructorDescriptionCreates an uninitialized RecordComponentInfo.RecordComponentInfo(int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes) Creates an initialized RecordComponentInfo. -
Method Summary
Modifier and TypeMethodDescriptionvoidattributesAccept(Clazz clazz, AttributeVisitor attributeVisitor) Applies the given attribute visitor to all attributes.getDescriptor(Clazz clazz) Returns the record component descriptor descriptor.Returns the record component descriptor name.voidreferencedFieldAccept(Clazz clazz, MemberVisitor memberVisitor) Lets the referenced class field accept the given visitor.Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.util.Processable
accept
-
Field Details
-
u2nameIndex
public int u2nameIndex -
u2descriptorIndex
public int u2descriptorIndex -
u2attributesCount
public int u2attributesCount -
attributes
-
referencedField
An extra field optionally pointing to the referenced Field object. This field is typically filled out by the.ClassReferenceInitializer
-
-
Constructor Details
-
RecordComponentInfo
public RecordComponentInfo()Creates an uninitialized RecordComponentInfo. -
RecordComponentInfo
public RecordComponentInfo(int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes) Creates an initialized RecordComponentInfo.
-
-
Method Details
-
getName
Returns the record component descriptor name. -
getDescriptor
Returns the record component descriptor descriptor. -
referencedFieldAccept
Lets the referenced class field accept the given visitor. -
attributesAccept
Applies the given attribute visitor to all attributes.
-