Need UML reverse engineering tool for Java project

2020-06-03 06:25发布

问题:

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 ?

回答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



回答2:

This has been asked before.. please find it at

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



回答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.



回答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.



回答5:

I suggest euml2 as an eclipse pluggin.
It has a free version and it is quite good!



回答6:

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.



回答7:

I recommend Enterprise Architect which supports full reverse and forward engineering including for Java. Automatic Documentation generation as Word, PDF or website.



回答8:

Free Class Visualizer does exactly that - you load compiled Java code and, as a result, receive class diagrams allowing you to navigate through relations. It supports parametrized types, annotations and discovers all sort of outbound and inbound relations (including dependencies).