Need UML reverse engineering tool for Java project

26,422

Solution 1

Visual Paradigm for UML

Tools --> Instant Reverse --> Java --> Specify your sources and you are done.

This is a commercial application with lots of stuff, but for what you need to do, you are fine with the evaluation key.

EDIT: Also have a look at this video

Solution 2

This has been asked before.. please find it at

How to generate UML diagrams (especially sequence diagrams) from Java code

Solution 3

I recommend Architexa for its great class digram generation. Instead of generating every classes in a huge class diagram, Arhitexa allows you to selectively display the relevant classes in the diagram.

Solution 4

Most UML tools can import Java code. Last time I used JUDE Community edition it could do it, but they've split it into community and paid editions. I'm not sure if the free one does anymore. Sparx Enterprise Architect can import Java as well.

Solution 5

Umbrello supports Java code import, and it is open source, so will cost you nothing to try.

You might also give Doxygen(with GraphViz) a go; it will generate UML 'style' class diagrams and is a great code navigation tool for unfamiliar code-bases. Not truly a UML tool though, but might suit your requirements.

Share:
26,422
JaneNY
Author by

JaneNY

Updated on July 09, 2022

Comments

  • JaneNY
    JaneNY almost 2 years

    I need to maintain some project in Java, but it is very big. I need some plugin for Eclipse or program alone which can generate UML from Java project. Is there something what can help me ?

  • Chris Kessel
    Chris Kessel over 13 years
    +1 because Enterprise Architect is a great UML tool (great diagramming tool in general).
  • UML GURU
    UML GURU over 13 years
    eUML will add tags in your code and will entirely rewrite your code in order to add model annotation in the code. The model is said to be corrupt and if you need advanced features then you have to pay over $1600 !! To absolutely avoid
  • Cratylus
    Cratylus over 13 years
    @user294000:Well it adds meta-data in comments e.g. /*** @uml.property name="variableName"* @uml.associationEnd */ but that did not create a problem for me. I have used it for class diagrams and package diagrams and was ok. If you have more advanced usage experience and you saw bugs, well thank you for telling me to keep in mind
  • Cratylus
    Cratylus over 13 years
    @user294000:Also it has a free version for the basic stuff. The other suggestions are very good but have only trial versions.
  • OO7
    OO7 over 9 years
    Link you have provided is broken. Please update your answer.
  • robross0606
    robross0606 almost 6 years
    Architexa does not work any any remotely recent version of Eclipse. The last version that works is 4.2 and 4.8 was just released.
  • abulka
    abulka over 4 years
    Link seems to work ok and lists lots of good options.
  • abulka
    abulka over 4 years
    Also check out my gituml.com which generates UML diagrams from Java & Python code in GitHub repositories. Diagrams automatically update when you push code using git.