1 17 package org.apache.bcel.classfile; 18 19 import java.io.DataInputStream ; 20 import java.io.IOException ; 21 import org.apache.bcel.Constants; 22 23 29 public final class ConstantInterfaceMethodref extends ConstantCP { 30 31 34 public ConstantInterfaceMethodref(ConstantInterfaceMethodref c) { 35 super(Constants.CONSTANT_InterfaceMethodref, c.getClassIndex(), c.getNameAndTypeIndex()); 36 } 37 38 39 45 ConstantInterfaceMethodref(DataInputStream file) throws IOException { 46 super(Constants.CONSTANT_InterfaceMethodref, file); 47 } 48 49 50 54 public ConstantInterfaceMethodref(int class_index, int name_and_type_index) { 55 super(Constants.CONSTANT_InterfaceMethodref, class_index, name_and_type_index); 56 } 57 58 59 66 public void accept( Visitor v ) { 67 v.visitConstantInterfaceMethodref(this); 68 } 69 } 70 | Popular Tags |