Community
Participate
Working Groups
1o. step: Create the classes: public class A { public long k(long a) { return 10; } } public class B extends A { public long n(int a) { return 20; } public long test() { return k(2); } } Apply the rename method to rename n to k. Eclipse will show the warning: the reference k will be shadowed by a renamed declaration. It would be nice if Eclipse suggests an additional change to perform the transformation: public class A { public long k(long a) { return 10; } } public class B extends A { public long k(int a) { return 20; } public long test() { return super.k(2); } }