IntelliJ IDEA 2019.2 Help

Viewing Hierarchies

Once built, hierarchies can be brought up for close examination in the Hierarchy tool window.

Showing the Hierarchy tool window

The Hierarchy tool window is not shown when there are no hierarchies to display. You have to build hierarchies first.

Refer to Building Class Hierarchy, Building Call Hierarchy, and Building Method Hierarchy to learn how to build hierarchies.

To open the Hierarchy tool window, do one of the following

  • From the main menu, select View | Tool Windows | Hierarchy.

  • Use N/A keyboard shortcut.

Do one of the following:

  • Right-click the currently displayed tab, and choose Select Next Tab/Select Previous Tab from the context menu.

  • Use the Alt+Right and Alt+Left keyboard shortcuts.

  • Click the currently displayed tab, and choose the next tab to display.

    ij show hierarchy

Toggling between views

Toggling between views means showing ascending or descending hierarchy (callee vs. caller methods, parent vs. children classes etc.) To toggle between views, use the toolbar of the Hierarchy tool window:

  • Click hierarchyClassSupertypes to show caller methods, or supertypes.

  • Click hierarchyClassSubtypes to show callee methods, or subtypes.

Last modified: 17 October 2019