480481482483484485486487488489490
} } if (fieldList.size() == 0) { return null; } Field f1 = fieldList.remove(fieldList.size() - 1); if (fieldList.size() == 0) { return EnumSet.of(f1); } else { return EnumSet.of(f1, fieldList.toArray(new Field[fieldList.size()])); }