Hierarchy View
The Hierarchy view (in the Java perspective) shows the supertypes and subtypes for the selected Java object. Use it to explore the type hierarchy, fields, and methods for a class or interface by selecting the type in the Java editor or Package Explorer view and pressing F4 (Navigate → Open Type Hierarchy).
The Hierarchy view has two panes, each with its own toolbar. The top pane is the Type Hierarchy tree (see Table 17), which lists the object's supertypes and subtypes. The optional bottom pane is the Member list (Table 18). It shows fields and methods. Double-click on any type or member to edit its source code.
Table 7-9. Type Hierarchy toolbar
|
Icon |
Description |
|---|---|
|
|
Show the type hierarchy from object down. |
|
|
Show the supertype hierarchy from the current type up. |
|
|
Show the subtype hierarchy from the current type down. |
|
|
View a previous type in the history. |
Table 7-10. Member list toolbar
|
Icon |
Description |
|---|---|
|
|
Lock the member list and show inherited members in the ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access