proguard.classfile
Class MethodrefCpInfo
java.lang.Object
proguard.classfile.CpInfo
proguard.classfile.RefCpInfo
proguard.classfile.MethodrefCpInfo
- All Implemented Interfaces:
- VisitorAccepter
- public class MethodrefCpInfo
- extends RefCpInfo
Representation of a 'method reference' entry in the ConstantPool.
|
Method Summary |
void |
accept(ClassFile classFile,
CpInfoVisitor cpInfoVisitor)
Accepts the given visitor. |
int |
getTag()
Returns the class 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 |
MethodrefCpInfo
protected MethodrefCpInfo()
MethodrefCpInfo
public MethodrefCpInfo(int u2classIndex,
int u2nameAndTypeIndex,
ClassFile referencedClassFile,
MemberInfo referencedMemberInfo)
- Creates a new MethodrefCpInfo 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.referencedClassFile - the referenced class file.referencedMemberInfo - the referenced member info.
getTag
public int getTag()
- Description copied from class:
CpInfo
- Returns the class pool info tag that specifies the entry type.
- Specified by:
getTag in class CpInfo
accept
public void accept(ClassFile classFile,
CpInfoVisitor cpInfoVisitor)
- Description copied from class:
CpInfo
- Accepts the given visitor.
- Specified by:
accept in class CpInfo