private void replaceWrite(ClassTransformation transformation, String fieldName,
String fieldType, String managerFieldName, String typeFieldName)
{
String writeMethodName = transformation.newMemberName("write", fieldName);
TransformMethodSignature writeSignature = new TransformMethodSignature(Modifier.PRIVATE, "void",
writeMethodName, new String[]
{ fieldType }, null);
String body = format("%s.set(%s, $1);", managerFieldName, typeFieldName);