类 RecordComponentInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.RecordComponentInfo
-
- 所有已实现的接口:
java.io.Serializable,Processable
public class RecordComponentInfo extends SimpleProcessable
Representation of a record component entry.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 Attribute[]attributesFieldreferencedFieldAn extra field optionally pointing to the referenced Field object.intu2attributesCountintu2descriptorIndexintu2nameIndex-
从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
构造器概要
构造器 构造器 说明 RecordComponentInfo()Creates an uninitialized RecordComponentInfo.RecordComponentInfo(int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes)Creates an initialized RecordComponentInfo.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidattributesAccept(Clazz clazz, AttributeVisitor attributeVisitor)Applies the given attribute visitor to all attributes.java.lang.StringgetDescriptor(Clazz clazz)Returns the record component descriptor descriptor.java.lang.StringgetName(Clazz clazz)Returns the record component descriptor name.voidreferencedFieldAccept(Clazz clazz, MemberVisitor memberVisitor)Lets the referenced class field accept the given visitor.-
从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.util.Processable
accept
-
-
-
-
字段详细资料
-
u2nameIndex
public int u2nameIndex
-
u2descriptorIndex
public int u2descriptorIndex
-
u2attributesCount
public int u2attributesCount
-
attributes
public Attribute[] attributes
-
referencedField
public Field referencedField
An extra field optionally pointing to the referenced Field object. This field is typically filled out by the.ClassReferenceInitializer
-
-
构造器详细资料
-
RecordComponentInfo
public RecordComponentInfo()
Creates an uninitialized RecordComponentInfo.
-
RecordComponentInfo
public RecordComponentInfo(int u2nameIndex, int u2descriptorIndex, int u2attributesCount, Attribute[] attributes)Creates an initialized RecordComponentInfo.
-
-
方法详细资料
-
getName
public java.lang.String getName(Clazz clazz)
Returns the record component descriptor name.
-
getDescriptor
public java.lang.String getDescriptor(Clazz clazz)
Returns the record component descriptor descriptor.
-
referencedFieldAccept
public void referencedFieldAccept(Clazz clazz, MemberVisitor memberVisitor)
Lets the referenced class field accept the given visitor.
-
attributesAccept
public void attributesAccept(Clazz clazz, AttributeVisitor attributeVisitor)
Applies the given attribute visitor to all attributes.
-
-