public void redirectMethodCall(String oldMethodName,CtMethod newMethod) throws CannotCompileException {
  transformers=new TransformCall(transformers,oldMethodName,newMethod);
}

public void redirectMethodCall ( String oldMethodName , CtMethod newMethod ) throws CannotCompileException { transformers = new TransformCall ( transformers , oldMethodName , newMethod ) ; }
correct invocations to a method that has been renamed . if a method is renamed , calls to that method must be also modified so that the method with the new name will be called . < p > the method must be declared in the same class before and after it is renamed . < p > note that the target object , the parameters , or the type of invocation ( static method call , interface call , or private method call ) are not modified . only the method name is changed .
