final NewMethodParameter objectOutputStream = (NewMethodParameter) newMethodParameters.get(1);
objectOutputStream.setFinal(true);
objectOutputStream.setName(SerializationConstants.CLIENT_OBJECT_WRITER_IMPL_WRITE0_OBJECT_OUTPUT_STREAM_PARAMETER);
final WriteTemplatedFile body = new WriteTemplatedFile();
body.setType(type);
newMethod.setBody(body);
newMethod.addMetaData(com.google.gwt.core.client.UnsafeNativeLong.class.getName(), "");
context.debug("Overridden " + newMethod);
}