code: public JField []getDeclaredFields()
    {
      ArrayList<JavaField> fieldList = getFieldList();
      
      JField[] fields = new JField[fieldList.size()];
  
      fieldList.toArray(fields);
  
      return fields;
    }
docs: Returns the array of declared fields.