final MethodParameter targetBeanParameter = (MethodParameter) newMethod.getParameters().get(0);
final Type proxy = bean.getProxy();
final Constructor constructor = proxy.getConstructor(Collections.<Type>emptyList());
final CreateProxyTemplatedFile body = new CreateProxyTemplatedFile();
body.setProxyConstructor(constructor);
body.setTargetBeanParameter(targetBeanParameter);
body.setTargetBeanType(bean.getType());
newMethod.setBody(body);
}