1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 37 public class InterfaceMethodRef_info extends FeatureRef_info { 38 public InterfaceMethodRef_info(ConstantPool constantPool, DataInputStream in) throws IOException { 39 super(constantPool, in); 40 } 41 42 public String getName() { 43 return getRawNameAndType().getName(); 44 } 45 46 public String getSignature() { 47 StringBuffer result = new StringBuffer (); 48 49 result.append(getRawNameAndType().getName()); 50 result.append(SignatureHelper.getSignature(getRawNameAndType().getType())); 51 52 return result.toString(); 53 } 54 55 public void accept(Visitor visitor) { 56 visitor.visitInterfaceMethodRef_info(this); 57 } 58 } 59 | Popular Tags |