restrictedinfinity
restrictedinfinity

Reputation: 435

Visualize Classes in Java Type Hierarchy, which implement different functions?

How to easily visualize a Class in Java Type Hierarchy, which implement different functions. With multiple layers of inheritence finding the correct Class which implements a function gets complicated. Ho we have a feature in eclipse to support it ?

Upvotes: 1

Views: 3262

Answers (2)

Łukasz Rżanek
Łukasz Rżanek

Reputation: 5836

Depending what you really need - an UML diagram, an inheritance structure?

There are plenty of tools you can use, ranging from those that will create a documentation with UML diagrams for every class to plugins and some funny implementations. Take a look at those from this list:

  • UDoc - dynamic visualization similar to UML diagrams.
  • yWorks - doclet for JavaDoc that will output UML diagrams.
  • SCG - software cartography is an amazing visualization tool with Eclipse plugin.

But I guess what you really need, in case of Eclipse, is Implementors Plugin with a possible addition of Call Hierarchy Plugin. But it's just my guess...

Upvotes: 5

duffymo
duffymo

Reputation: 308763

UML is the usual visualization tool. I doubt that it'll help much here.

It's easy to do in IntelliJ: it shows a symbol in the left gutter that shows me all the classes that implement a given method if I click on it.

Upvotes: 0

Related Questions