}
if (field.isFinal()) {
throwFinalFieldsCannotBeDeserialized(field);
}
final SetFieldTemplatedFile writeMethodBody = new SetFieldTemplatedFile();
writeMethodBody.setField(field);
// create the setter method itself.
final NewMethod setter = deserializer.newMethod();
setter.setAbstract(false);
setter.setFinal(false);