public FieldTranslator createDefaultTranslator(ComponentResources resources, String parameterName)
{
Defense.notNull(resources, "resources");
Defense.notBlank(parameterName, "parameterName");
Field field = (Field) resources.getComponent();
Class propertyType = resources.getBoundType(parameterName);
return createDefaultTranslator(field, resources.getId(), resources.getContainerMessages(),
resources.getLocale(), propertyType,
resources.getAnnotationProvider(parameterName));