类 RefConstant
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.constant.Constant
proguard.classfile.constant.RefConstant
- 所有已实现的接口:
Serializable,Processable
- 直接已知子类:
AnyMethodrefConstant,FieldrefConstant
This
Constant represents a ref constant in the constant pool.- 另请参阅:
-
字段概要
字段修饰符和类型字段说明An extra field pointing to the referenced Clazz object.intint从类继承的字段 proguard.classfile.constant.Constant
CLASS, DOUBLE, DYNAMIC, FIELDREF, FLOAT, INTEGER, INTERFACE_METHODREF, INVOKE_DYNAMIC, LONG, METHOD_HANDLE, METHOD_TYPE, METHODREF, MODULE, NAME_AND_TYPE, PACKAGE, PRIMITIVE_ARRAY, STRING, UTF8从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanintReturns the class index.getClassName(Clazz clazz) Returns the class name.Returns the method/field name.intReturns the name-and-type index.Returns the type.inthashCode()voidreferencedClassAccept(ClassVisitor classVisitor) Lets the referenced class accept the given visitor.abstract voidreferencedMemberAccept(MemberVisitor memberVisitor) Lets the referenced class member accept the given visitor.voidsetNameAndTypeIndex(int index) Sets the name-and-type index.toString()从类继承的方法 proguard.classfile.constant.Constant
accept, getTag, isCategory2从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo从接口继承的方法 proguard.util.Processable
accept
-
字段详细资料
-
u2classIndex
public int u2classIndex -
u2nameAndTypeIndex
public int u2nameAndTypeIndex -
referencedClass
An extra field pointing to the referenced Clazz object. This field is typically filled out by the.ClassReferenceInitializer
-
-
构造器详细资料
-
RefConstant
protected RefConstant()Creates an uninitialized RefConstant.
-
-
方法详细资料
-
getClassIndex
public int getClassIndex()Returns the class index. -
getNameAndTypeIndex
public int getNameAndTypeIndex()Returns the name-and-type index. -
setNameAndTypeIndex
public void setNameAndTypeIndex(int index) Sets the name-and-type index. -
getClassName
Returns the class name. -
getName
Returns the method/field name. -
getType
Returns the type. -
referencedClassAccept
Lets the referenced class accept the given visitor. -
referencedMemberAccept
Lets the referenced class member accept the given visitor. -
equals
-
hashCode
public int hashCode() -
toString
-