Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut to see class hierarchy in Eclipse

Tags:

java

eclipse

I have one query that is I am using eclipse and I have imported the project and as usual in a project there are 30 to 40 packages and each package contains set of classes , Now say in package named A I have a class Named abc and in later subpackages ,let say in package named W i have extended and override some of the methods of that class(abc) and construct a new class named def which extend the parent class abc, now please let me let me know I have opened the parent class abc in eclipse is there any shortcut through which I can find out which subclasses in later package overrides it's method and which subclasses are extending it..!

like image 543
user1726942 Avatar asked Oct 16 '12 13:10

user1726942


1 Answers

Yes: When your cursor is on the class name (as in: public class A|bc), you can press Ctrl+T to see the inheritance hierarchy of Abc.

like image 146
Aaron Digulla Avatar answered Oct 07 '22 02:10

Aaron Digulla