Collection<Object[]> () { return StreamEx.of(FileToFile.class, DirToDir.class, DirToFile.class, FileToDir.class) .flatMap(aClass -> Stream.of(aClass.getDeclaredFields())) .filter(field -> Modifier.isStatic(field.getModifiers())) // DirToDir.MINE_EDIT_THEIRS_DELETE - no more a conflict since 1.7.7 .filter(field -> getStaticFieldValue(field) != DirToDir.MINE_EDIT_THEIRS_DELETE) .map(field -> ar(getStaticFieldValue(field), field.getDeclaringClass().getSimpleName() + "." + field.getName())) .toList(); }