String (@NotNull Class<?> objectClass, @Nullable Object object, String... fieldNames) { List<String> chunks = new SmartList<>(); for (String fieldName : fieldNames) { chunks.add(fieldName + "=" + getField(objectClass, object, null, fieldName)); } return String.join("; ", chunks); }