Community
Participate
Working Groups
If a method T.m() is selected then "Reference" search reports only exact matches to T.m(). This often results in 0 results (e.g. if T implements an interface I or extends another type). A new search (References to Hierarchy) should return all references to m() in the hierarchy (including interfaces and subtypes) of T.
Testing a link: see bug 10057, comment 0.
reassigning
I figure this is more complicated than it sounds. Still a good idea, though.
Daniel, I did some testing and for me this works as expected: public abstract class A { public abstract void foo(); } public interface I { public void foo(); } public class B extends A implements I { public void foo() { } } public class Ref { public void bar() { I i= null; A a= null; B b= null; i.foo(); a.foo(); b.foo(); } } - searching for references to B#foo gives three matches - searching for references to I#foo gives two matches - searching for references to A#foo gives two matches So the only problem I see is the marriage of convenience case.
looks like this has been improved.