1 21 package proguard.classfile.constant; 22 23 import proguard.classfile.*; 24 import proguard.classfile.constant.visitor.ConstantVisitor; 25 26 31 public class InterfaceMethodrefConstant extends RefConstant 32 { 33 36 public InterfaceMethodrefConstant() 37 { 38 } 39 40 41 48 public InterfaceMethodrefConstant(int u2classIndex, 49 int u2nameAndTypeIndex, 50 Clazz referencedClass, 51 Member referencedMember) 52 { 53 this.u2classIndex = u2classIndex; 54 this.u2nameAndTypeIndex = u2nameAndTypeIndex; 55 this.referencedClass = referencedClass; 56 this.referencedMember = referencedMember; 57 } 58 59 60 62 public int getTag() 63 { 64 return ClassConstants.CONSTANT_InterfaceMethodref; 65 } 66 67 public void accept(Clazz clazz, ConstantVisitor constantVisitor) 68 { 69 constantVisitor.visitInterfaceMethodrefConstant(clazz, this); 70 } 71 } 72 | Popular Tags |