Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java IDE - find all INDIRECT usages/references of a function or class?

In Netbeans or in Eclipse, you can use "Find Usages" or "References" from the right click context menu. If a() calls b(), using the functionality from b() will show you a(). However, what I want is to be able to see some kind of tree or have an option to see all usages of a given/class or method, such that if z() calls a() that using the functionality will show both z() and a().

Any IDE plugins or external tools that can do this?

like image 865
GreenieMeanie Avatar asked May 04 '10 16:05

GreenieMeanie


1 Answers

Eclipse gives you a way to see Call hierarchy using Ctrl+ Alt + H or choose from the menu like references. This should show you the entire call tree for this method.

like image 194
Fazal Avatar answered Oct 06 '22 00:10

Fazal