I'm using JavaParser.
For example, I'm having below method
void checkCall()
{
Blabla.test();
}
Blabla.test();
is a static call. I want to change Blabla.test()
to ABCD.test()
without changing any other. I got Blabla from methodCall.getScope().get()
. But how to use methodCall.setScope()
? It's expecting Expression as a parameter.