How to view Java class hierarchy in Eclipse IDE?

Eclipse IDE, press CTRL + T or F4 to view the Java class hierarchy, no need to search the JavaDoc API online.

Note
For Mac OS X, press Command + T

Steps to show class hierarchy

1. Clicks on a class, press CTRL + T to view the subtype hierarchy.

hierarchy-eclipse-subtype

2. Press CTRL + T again, it will display only the super type hierarchy.

hierarchy-eclipse-supertype

References

  1. Eclipse Ctrl + T in IntelliJ IDEA

mkyong

Founder of Mkyong.com, passionate Java and open-source technologies. If you enjoy my tutorials, consider making a donation to these charities.

2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
d
12 years ago
mkyong
9 years ago
Reply to  d

Thanks for your recommend tools.