if (!StringUtils.hasText(propertyName)) {
return null;
}
ModelValidationType validationType = modelValidationAnnotation.value();
if ((includeValidation == IncludeValidation.ALL || includeValidation == IncludeValidation.BUILTIN
&& validationType.isBuiltin())
&& validationType.isValid(modelValidationAnnotation)) {
switch (validationType) {
case GENERIC:
String type = getParameterValue(
modelValidationAnnotation.parameters(), "type");
Map<String, Object> options = new LinkedHashMap<String, Object>();