builder.addln(
"%s.persistFieldChange(\"%s\", ($w) $1);",
resourcesFieldName,
logicalFieldName);
builder.addln("%s = $1;", fieldName);
builder.end();
transformation.addMethod(new TransformMethodSignature(Modifier.PRIVATE, "void", writeMethodName,
new String[]
{ fieldType }, null), builder.toString());