final Class propertyType = resources.getBoundType(parameterName);
if (propertyType == null)
return null;
final Field field = (Field) resources.getComponent();
return createDefaultValidator(field, resources.getId(), resources
.getContainerMessages(), resources.getLocale(), propertyType,
resources.getAnnotationProvider(parameterName));
}