Apply the rename refactoring on B.m() in the following code and rename it to 'p':
interface B {
public void m();
}
interface A {
public void m();
}
class C implements A, B {
public void m(){}
}
The refactoring fails to detect that it should also rename A.m() and leads to the following code that does not compile:
interface B {
public void p();
}
interface A {
public void m();
}
class C implements A, B {
public void p(){}
}