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
author image

mkyong

Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities. Read all published posts by

Comments

avatar
3000
newest oldest most voted
d
Guest
d
mkyong
Guest
mkyong

Thanks for your recommend tools.