1 package serp.bytecode.lowlevel; 2 3 import java.io.*; 4 5 import serp.bytecode.visitor.*; 6 7 /*** 8 * A reference to an interface method. 9 * 10 * @author Abe White 11 */ 12 public class InterfaceMethodEntry extends ComplexEntry { 13 /*** 14 * Default constructor. 15 */ 16 public InterfaceMethodEntry() { 17 } 18 19 /*** 20 * Constructor. 21 * 22 * @see ComplexEntry#ComplexEntry(int,int) 23 */ 24 public InterfaceMethodEntry(int classIndex, int nameAndTypeIndex) { 25 super(classIndex, nameAndTypeIndex); 26 } 27 28 public int getType() { 29 return Entry.INTERFACEMETHOD; 30 } 31 32 public void acceptVisit(BCVisitor visit) { 33 visit.enterInterfaceMethodEntry(this); 34 visit.exitInterfaceMethodEntry(this); 35 } 36 }