Suppose I have:
interface Foo {
void doStuff();
}
class FooImpl implements Foo {
public void doStuff() {
// stuff
}
}
When I see myFoo.doStuff()
in my code, if my cursor is over doStuff()
, pressing F3 will take me to the doStuff()
method in the interface Foo
. Of course, I often am much more interested in the implementation of this method, not just the signature.
Does Eclipse have an easy way to navigate from a declaration of a method in an interface to the implementation of that method in the implementing class?
In my case, there will not be ambiguity about what the implementing class is.