How to find out in Eclipse if certain method is potentially invoked or reachable (directly or indirectly) from another method?
Assume I want to refactor A.one()
which can be negatively influenced by a side-effect in D.four()
. Therefore I'd like to find out if D.four()
can potentially be invoked from A.one()
. I can see which methods are called from A.one()
using the Call Hierarchy. I can navigate the call tree and eventually find that A.one()
calls B.two()
which calls C.three()
which calls D.four()
.
Is there a way in Eclipse to make this search somehow automatic?
ps. There's a "Filters..." option in Call Hierarchy Dialog, but it only hides matching names.