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?


Solution 1:

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

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

Solution 2:

Put the cursor on the class name (works for methods, constructors, fields, etc, too), press Ctrl+Shift+G and enjoy.

Solution 3:

Since Eclipse 4.12 you can also use the code minings feature:

Eclipse minings settings