proguard.classfile.constant
Class InterfaceMethodrefConstant
java.lang.Object
proguard.classfile.constant.Constant
proguard.classfile.constant.RefConstant
proguard.classfile.constant.InterfaceMethodrefConstant
- All Implemented Interfaces:
- VisitorAccepter
public class InterfaceMethodrefConstant
- extends RefConstant
This Constant represents a interface method reference constant in the constant pool.
|
Method Summary |
void |
accept(Clazz clazz,
ConstantVisitor constantVisitor)
Accepts the given visitor. |
int |
getTag()
Returns the constant pool info tag that specifies the entry type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterfaceMethodrefConstant
public InterfaceMethodrefConstant()
- Creates an uninitialized InterfaceMethodrefConstant.
InterfaceMethodrefConstant
public InterfaceMethodrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
- Creates a new InterfaceMethodrefConstant with the given name and type indices.
- Parameters:
u2classIndex - the index of the class in the constant pool.u2nameAndTypeIndex - the index of the name and type entry in the constant pool.referencedClass - the referenced class.referencedMember - the referenced member info.
getTag
public int getTag()
- Description copied from class:
Constant
- Returns the constant pool info tag that specifies the entry type.
- Specified by:
getTag in class Constant
accept
public void accept(Clazz clazz,
ConstantVisitor constantVisitor)
- Description copied from class:
Constant
- Accepts the given visitor.
- Specified by:
accept in class Constant