code: private String[] enumFieldsToNames(EntityField... fields) {
      String[] fieldsNames = new String[fields.length];
      for (int i = 0; i < fields.length; i++) {
        fieldsNames[i] = fields[i].name();
      }
      return fieldsNames;
    }
docs: Returns the array of Strings resulting from calling {@code name()} on each field.
  
  @param fields the array of fields as Java Enums.