infixPotentialDefaults(request, superClass, infixPotentialValuesOfSuperClass);
}
Field[] declaredFields = targetClazz.getDeclaredFields();
for (Field property : declaredFields) {
Default defaultValue = property.getAnnotation(Default.class);
if (null != defaultValue) {
property.setAccessible(true);
try {
Object value = property.get(request);
if (value == null || ((value instanceof String ? ((String) value).isEmpty() : false))) {
property.set(request, defaultValue.value());
}
} catch (Exception e) {
throw new RuntimeException(e);
}
}