Community
Participate
Working Groups
I20031111 Test Case: public void bar() { class X { public void baz() { } } class Y extends X { public void baz() { } } } - retrieve IMethod handles representing the baz() methods in the classes X and Y - create a search scope containg both methods in an or pattern - searching for all occurrences using this patter reports zero matches. You can test this by selecting baz in X and perform a change method signature refactoring. Set a break point in ChangeSignatureRefactoring.findOccurrences. The returned result is empty.
Have you tried this with the latest build? I get 2 methods back & can choose which ones I want renamed.
Tried with the latest and it works.
This was fixed in our changes that made it into M5.
Verified.