code: public FieldRefConstant getFieldRef(String className,
                                        String name,
                                        String type)
    {
      for (int i = 0; i < _entries.size(); i++) {
        ConstantPoolEntry entry = _entries.get(i);
  
        if (! (entry instanceof FieldRefConstant))
          continue;
  
        FieldRefConstant fieldEntry = (FieldRefConstant) entry;
  
        if (fieldEntry.getClassName().equals(className) &&
            fieldEntry.getName().equals(name) &&
            fieldEntry.getType().equals(type))
          return fieldEntry;
      }
  
      return null;
    }
docs: Gets a field ref constant.