I stumbled on a very cool feature in Eclipse “References”. It allows you to find classes which refer to a particular method or class.

To invoke right-mouse click on a method name in a class, click References -> Project.
It will display a Search tab with a list of all the classes and the methods
which call the particular method you selected.

The same is true if you right-mouse click on a classname.

One thought on “Eclipse tip: finding references to methods and/or classes

  1. [Trackback] Reading Eclipse tips like this makes me wonder how many Eclipse users actually aware of “Open Call Hierarchy” action (Ctrl-Alt-H), that had been added in Eclipse 3.0 M1 .

    By the way, this feature is a good example of community contribu…

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s