Renaming a method declared in an interface will also rename (and update all references to) all methods that are implementations of that method.
When renaming a non-static method declared as public, package visible, or protected, all methods overriding it will also be renamed and all references to them updated.
Renaming a static method or a private method will update references only to that method.
You can rename a method by modifying its declaration in the compilation unit in which it is declared. However, if you also want to update all references to it, you must either: