protected Method createFieldGetter(final NewConcreteType writer, final Field field) {
Checker.notNull("parameter:writer", writer);
Checker.notNull("parameter:field", field);
final GeneratorContext context = this.getGeneratorContext();
final GetFieldTemplatedFile body = new GetFieldTemplatedFile();
body.setField(field);
final NewMethod method = writer.newMethod();
method.setAbstract(false);
method.setBody(body);
method.setFinal(true);