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 ConstantFieldref extends ConstantCP { 67 70 public ConstantFieldref(ConstantFieldref c) { 71 super(Constants.CONSTANT_Fieldref, c.getClassIndex(), c.getNameAndTypeIndex()); 72 } 73 74 80 ConstantFieldref(DataInputStream file) throws IOException 81 { 82 super(Constants.CONSTANT_Fieldref, file); 83 } 84 85 89 public ConstantFieldref(int class_index, 90 int name_and_type_index) { 91 super(Constants.CONSTANT_Fieldref, class_index, name_and_type_index); 92 } 93 94 101 public void accept(Visitor v) { 102 v.visitConstantFieldref(this); 103 } 104 } 105 | Popular Tags |