Reputation: 153
How to search within eclipse or MotoDev IDE which methods are being called and by which file? i.e. I have a method called Validate, but not sure how to search where it is called from which class or file that calls it?
Upvotes: 0
Views: 84
Reputation: 3642
Right click on method and click on references, (select the scope ie. workspace,project or hierarchy).
Upvotes: 0
Reputation: 19445
You can also right click a method name in the outline view or java source and choose "Open Call Hierarchy", which will display the complete call chain.
Upvotes: 1
Reputation: 17115
In eclipse:
Left click to highlight method or select it in outline.
After selection:
Right click on it -> References
or
Search -> References
and pick a range.
Upvotes: 1