4

Say you have a class A and a class B extends A and a class C extends B.

Is there any IDE or any sort of plug-in for any idea, where in the file C.Java, on line

Class C extends B

I can see something like ( and Class A ) for example like a tooltip or like a comment under the line?

Koray Tugay
  • 22,894
  • 45
  • 188
  • 319

3 Answers3

5

In Eclipse, you can position the caret on the type name press F4 to see the type hierarchy. This will show the type path from Object to the indicated type name and all subtypes of that name.

Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
1

You can use Ctrl-T to see quick class hierarchy popup. And while it is open, hitting Ctrl-T again will show you a reversed class hierarchy.

Eugene Kuleshov
  • 31,461
  • 5
  • 66
  • 67
0

In IntelliJ IDEA hit Ctrl + H to open Class hierarchy pop-up. Another useful shortcut is Ctrl + Alt + U which will display UML diagram of the class in question.

Tomasz Nurkiewicz
  • 334,321
  • 69
  • 703
  • 674