How to view Java class hierarchy in Eclipse IDE?

Here is a quick tip about how to view the specified Java class hierarchy in Eclipse IDE. As usual, if we want to view the class both in sub type and super type hierarchy structure of a specified class, we can visit the API documentation online,

For example,

WebMarkupContainerWithAssociatedMarkup is a Wicket class. API documentation online here.

Eclipse does provide a shortcut (CTRL + T) to view the Java class hierarchy, both in super type and sub type.

Steps to view the hierarchy

1) Mouse over the class e.g WebMarkupContainerWithAssociatedMarkup, and point on it.

2) Press on (CTRL + T) combination keys to view the subtype hierarchy