public FieldTranslator createDefaultTranslator(ComponentResources resources, String parameterName)
{
assert resources != null;
assert InternalUtils.isNonBlank(parameterName);
Field field = (Field) resources.getComponent();
Class propertyType = resources.getBoundType(parameterName);
return createDefaultTranslator(field, resources.getId(), resources.getContainerMessages(), resources
.getLocale(), propertyType, resources.getAnnotationProvider(parameterName));
}