newMethod.setNative(false);
GeneratorHelper.renameParametersToParameterN(newMethod);
GeneratorHelper.makeAllParametersFinal(newMethod);
final ProxyInterceptedMethodTemplatedFile body = new ProxyInterceptedMethodTemplatedFile();
body.setAspects(aspects);
body.setBeanFactory(this.getBeanFactory());
body.setMethod(newMethod);
body.setTargetMethod(method);
final Type methodInterceptor = this.getMethodInterceptor();
final List<Type> methodInvocationParameterList = Arrays.asList(new Type[] { this.getMethodInvocation() });
final Method invoke = methodInterceptor.getMethod(Constants.METHOD_INTERCEPTOR_INVOKE, methodInvocationParameterList);
final MethodParameter target = (MethodParameter) invoke.getParameters().get(0);
body.setTarget(target);
newMethod.setBody(body);
}