public class InterfaceMethodrefConstant extends RefConstant
referencedClass, referencedMember, u2classIndex, u2nameAndTypeIndexvisitorInfo| Constructor and Description |
|---|
InterfaceMethodrefConstant()
Creates an uninitialized InterfaceMethodrefConstant.
|
InterfaceMethodrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Creates a new InterfaceMethodrefConstant with the given name and type indices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
ConstantVisitor constantVisitor)
Accepts the given visitor.
|
int |
getTag()
Returns the constant pool info tag that specifies the entry type.
|
getClassIndex, getClassName, getName, getNameAndTypeIndex, getType, referencedClassAccept, referencedMemberAccept, setNameAndTypeIndexgetVisitorInfo, setVisitorInfopublic InterfaceMethodrefConstant()
public InterfaceMethodrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
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.public int getTag()
Constantpublic void accept(Clazz clazz, ConstantVisitor constantVisitor)
ConstantCopyright © 2015. All Rights Reserved.