Usually to find the callers of a method in Eclipse I use ctrl-alt-h on the method. If nothing comes up, it is a callback from some other library. I'm pretty certain this method is not a callback and I'm pretty certain it's being called from somewhere. How can I find out if nothing shows up with a ctrl-alt-h?
You can put the cursor on the method name and press Ctrl-Shift-G (default key combination).
This will open a search in the project to look for references to your method.
Edit
On frameworks using declarative markup (Spring, Android, etc.) you might actually need to use a more manual approach: the file search.
Ctrl-H (default binding) and select File search (you can assign a custom key binding for that but no custom is provided) containing text with your method name if not automatically filledIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With