bodyBuilder.appendFormalLine("return new "
+ converterJavaType.getNameIncludingTypeParameters() + "() {");
bodyBuilder.indent();
bodyBuilder.appendFormalLine("public " + targetType.getSimpleTypeName()
+ " convert(String encodedJson) {");
bodyBuilder.indent();
bodyBuilder.appendFormalLine("return " + typeName + "."
+ jsonMethodName.getSymbolName() + "(new String(" + base64Name
+ ".decodeBase64(encodedJson)));");
bodyBuilder.indentRemove();
bodyBuilder.appendFormalLine("}");