Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Java, see where class is used

Is there a way in Eclipse to select a Java class, and then bring up a list of all Java files where that class is used within a project?

like image 907
Mike Avatar asked Oct 01 '09 15:10

Mike


People also ask

How do you see where a class is called in Eclipse?

In Eclipse IDE, you can type CTRL + SHIFT + T in Windows or *nix or Command + SHIFT + T in Mac OSX to prompt an Open Type dialog box to find details about a specified Java class.

How do I know where a method is used in Eclipse?

Right click and select References > Project or References > Workspace from the pop-up menu. Show activity on this post. This will show you a Search view containing the hierarchy of class and method which using this method.

Where are the .class files stored in Eclipse?

The initial value is the bin directory directly under your project. Similarly, the Source tab provides access to the location of your source input folder(s).


1 Answers

right-click on the class, and select references/Project

For searching all of the workspace, CTRL+SHIFT+G

like image 164
VonC Avatar answered Sep 27 '22 21:09

VonC