code: public JavaField getField(String name)
    {
      ArrayList<JavaField> fieldList = getFieldList();
      
      for (int i = 0; i < fieldList.size(); i++) {
        JavaField field = fieldList.get(i);
  
        if (field.getName().equals(name))
          return field;
      }
  
      return null;
    }
docs: Returns a fields.