JFieldRef toStringDelegateStyleParam) {
final JDefinedClass implementation = co.implClass;
final JMethod toStringMethod = implementation.method(JMod.PUBLIC, String.class, "toString");
final JInvocation invoke = delegateImpl.staticInvoke("valueOf");
invoke.arg(JExpr._this());
invoke.arg(toStringDelegateStyleParam);
toStringMethod.body()._return(invoke);
JDocComment doc = toStringMethod.javadoc();
doc.add("Generates a String representation of the contents of this type.");
doc.add("\nThis is an extension method, produced by the 'ts' xjc plugin");