String type = context.getProperty(PropertyRegistry.CONTEXT_JAVA_FORMATTER);
if (!StringUtility.stringHasValue(type)) {
type = DefaultJavaFormatter.class.getName();
}
JavaFormatter answer = (JavaFormatter) createInternalObject(type);
answer.setContext(context);
return answer;
}