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 ConstantMethodref extends ConstantCP { 30 31 34 public ConstantMethodref(ConstantMethodref c) { 35 super(Constants.CONSTANT_Methodref, c.getClassIndex(), c.getNameAndTypeIndex()); 36 } 37 38 39 45 ConstantMethodref(DataInputStream file) throws IOException { 46 super(Constants.CONSTANT_Methodref, file); 47 } 48 49 50 54 public ConstantMethodref(int class_index, int name_and_type_index) { 55 super(Constants.CONSTANT_Methodref, class_index, name_and_type_index); 56 } 57 58 59 66 public void accept( Visitor v ) { 67 v.visitConstantMethodref(this); 68 } 69 } 70 | Popular Tags |