Issue
Is there any library that could do this for me? And as example if I rename a method I need to rename all use cases of it too.
public void c() -> start() {
//...
}
public void test() {
Something something = new Something();
something.field1.c() -> start();
}
This should not only be for methods it should be for everything that is being renamed (Fields, Params...)
Solution
Maybe you are looking for AST. There are very few tutorials about it, maybe you can refer to the link below.
EclipseJDT and AST
Answered By - GYOTO