Find all instances of an interface in Eclipse?

Is there a way to make Eclipse show all instances of an interface?

That is: If I have an interface named IMyInterface, I want Eclipse to show me all objects that are of type IMyInterface in my workspace. Is that possible?
Last updated:12/15/2015 12:42:05 AM

1 Answers

Mayank Tripathi
Mayank Tripathi

You just need to press F4 when the cursor is on the interface name. This will open the "Type Hierarchy" tab where you'll be able to see all types of IMyInterface.

If you need to see all references of the interface inside your workspace, you can press Ctrl+Shift+G when the cursor in on the interface name.

Answer