1 package com.sun.org.apache.bcel.internal.classfile; 2 3 56 57 import com.sun.org.apache.bcel.internal.Constants; 58 import java.io.*; 59 60 66 public final class ConstantInterfaceMethodref extends ConstantCP { 67 70 public ConstantInterfaceMethodref(ConstantInterfaceMethodref c) { 71 super(Constants.CONSTANT_InterfaceMethodref, c.getClassIndex(), c.getNameAndTypeIndex()); 72 } 73 74 80 ConstantInterfaceMethodref(DataInputStream file) throws IOException 81 { 82 super(Constants.CONSTANT_InterfaceMethodref, file); 83 } 84 85 89 public ConstantInterfaceMethodref(int class_index, 90 int name_and_type_index) { 91 super(Constants.CONSTANT_InterfaceMethodref, class_index, name_and_type_index); 92 } 93 94 101 public void accept(Visitor v) { 102 v.visitConstantInterfaceMethodref(this); 103 } 104 } 105 | Popular Tags |