views:

94

answers:

3

Is there any tool that can be used to generate the UML diagram from Java code. I am currently using STAR UML for the same. But the tool is unable to design the dependency like if one class calls another class, rest the class diagram is generated stating interfaces, classes, extended classes and all..

can anyone please help me for the same.

+3  A: 

You can try Sparx Enterprise Architect. It can import Java or C# nicely. It also has a runtime feature that allows you to step through code and generate sequence diagrams.

duffymo
@duffymo .. i have used the tool that u have mentioned but it is also not capable of achieving the flow sort of thing.
Mrityunjay
A: 

You could use MagicDraw UML to achieve this. It's not free, but it's definitly worth the money.

Check out the trial version before buying.

flash
A: 

Take a look at nWire for Java. It is not a UML tool. However, it will quickly draw a diagram of your code artifacts with all possible dependencies. Many people use it for reverse engineering and for digging into legacy code.

zvikico