![]() Select the desired class in the Project tool window or open it in the editor.įrom the main menu, select Navigate | Type Hierarchy or just press Ctrl+H. You can retain the current tab and have the next hierarchy built in a new one. By default, every new built hierarchy overwrites the contents of the current tab. When built, a hierarchy can be immediately viewed and examined in the Hierarchy tool window. If you invoke the call hierarchy on a field, it will show you the list of the methods where the selected field is used. Call hierarchies show callers (supertypes) or callees (subtypes) of a method.When a method is not defined in a class, but is defined in the superclass, IntelliJ IDEA displays. In the hierarchy tree, IntelliJ IDEA displays to indicate subclasses that are not abstract but don't have the method defined in them. Method hierarchies show subclasses where the method overrides the selected one as well as superclasses or interfaces where the selected method gets overridden. Type hierarchies show parent and child classes of a class. With IntelliJ IDEA, you can examine the hierarchy of classes, methods, and calls and explore the structure of source files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |