public JField []getFields()
  {
    ArrayList<JField> fieldList = new ArrayList<JField>();

    getFields(fieldList);

    JField []fields = new JField[fieldList.size()];
    fieldList.toArray(fields);

    return fields;
  }
public JField [ ] getFields ( ) { ArrayList < JField > fieldList = new ArrayList < JField > ( ) ; getFields ( fieldList ) ; JField [ ] fields = new JField [ fieldList . size ( ) ] ; fieldList . toArray ( fields ) ; return fields ; }
Returns the array of fields.