Reputation:
I have a java class in my project, how can I find all of the places it's being used? Similar to Visual Studios find references.
Thanks.
Upvotes: 29
Views: 31988
Reputation: 81
Just a follow up since I was looking for all references for ALL public methods of a class in Eclipse:
This gives call hierarchy results for each method you selected. Hope this helps!
Edit: used the actual LIST item formatter
Upvotes: 7
Reputation: 1108557
Put the mouse cursor/caret on the class or method name in source code and hit Ctrl+Shift+G.
Upvotes: 45
Reputation: 597016
References -> Project
(or the other options, if they fit your case better)Upvotes: 11