Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have been playing around with a few various UML tools- Enterprise Architect, Visual Paradigm; in the end I found Intellij IDEA good enough for producing quick UML class diagrams.
However, I found creating UML object diagrams quite fiddly in EA and VP. I was wondering if there was anything out there that could reverse engineer some simple java code that creates some class instances - then create UML Object Diagrams from this?
We use UmlGraph embedded into a maven build, so we get graphs in the generated javadoc.
You should explore ObjectAid, it has an eclipse plugin as well.
There's a plugin for eclipse called AmaterasUML that does a nice job on a hand full of source files. It's not very useful for long term documentation but for quick and dirty "what's this package do?" it rocks.
Why not try Star UML.. its free and very easy to use..
http://staruml.sourceforge.net/en/
You can use the 30 days evaluation licence and create all needed diagrams for documentation.
No need to purchase if you save diagrams as image and paste and copy them into your documentation. Just unzip and it works.
The build is available at: http://www.uml2.org/eclipse-java-galileo-SR2-win32_eclipseUML2.2_package_may2010.zip
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am currently working on a Java project with "IBM Rational Software Architect"(Licensed Version) as an IDE .My task is to understand the code flow and need to prepare Technical Document as the project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to reverse engineer this project to see its architecture in UML. Do suggest me any open source software/ plugin that suits my IDE and can complete the task very easily?
I googled and found many useful Tools for Eclipse IDE but not for IBM Rational Software Architect.
Thanks for your answer !!
StarUML is a good open source tool, I think it have what you desire.
You should consider stand-alone products. For generating sequence diagrams and jar dependencies dynamically try jSonde
Static code analysis will suit for class diagrams - any modern IDE (like IntelliJ IDEA) can generate it
You can try "Modelio" which is Open Source and can reverse and generate class diagram.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I need to manipulate control flow graphs for Java code in a project. What might be a good java library to generate control flow graphs in Java. So far I have found a couple eclipse plugins (heavily dependent on eclipse APIs) and standalone tools (cannot embed in my code).
A tool to do this stuff is Soot, and this questions is a duplicate of Tool for generating control flow in Java
I'll throw another tool into the mix.
Atlas is an Eclipse plugin that enables program analysis. It has a querable graph database that includes the control flow graph (as well as data flow and other relationships).
jSonde will create sequence diagrams from your actual running code (which is arguably more useful than from source, since source analysis will not show implementation-specific functionality).
javacalltracer does something similar.
Most tools are integrated into Eclipse/similar so they have access to the AST, which makes such things pretty trivial.
It's actually not ridiculously complex to pull the information from byte code yourself (and it's an interesting exercise). Or instrument using AspectJ and create the runtime information yourself.
Edit Original answer, still valid.
JGraph is open-source, and pretty cool.
JDiagram is a Swing component, commercial product.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
i've used EA by Sparx in the past, but this is too complex for what I need.
What java modelling tool can you recommend?
You could try the JUDE community edition. It used to do the whole round trip, import and export, for Java. I'm not sure if that's still true since they switched to community and enterprise editions. It used to be a nice, straightforward tool.
I've used Sparx EA. I'll agree that it's fairly complex, but if you limit yourself to the straightforward stuff (e.g. class and sequence diagrams) it's not too bad. What makes you think that another tool will be much better?
I like ArgoUML. It provides roundtrip engineering for Java, and code generation for C++, C# and PHP too. I think IntelliJ provides some UML support, and I'm going to stick my neck out and presume that both Netbeans and Eclipse will have plugins that provide UML modelling too.
IBM Rational Software Architect is a good choice if your company is going to pay for it. It's a very complete tool, but it's quite easy to use and I find it very efficient.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
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 ?
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
This has been asked before.. please find it at
How to generate UML diagrams (especially sequence diagrams) from Java code
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.
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.
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.
I suggest euml2 as an eclipse pluggin.
It has a free version and it is quite good!
I recommend Enterprise Architect which supports full reverse and forward engineering including for Java. Automatic Documentation generation as Word, PDF or website.
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).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
This seemed to me like the easiest thing to find, a simple way to display my classes as UML in eclipse
But except this: http://java2uml.gforge.enseeiht.fr/ and this http://sourceforge.jp/projects/amateras/releases/ I haven't found any new, maintained and "good" implementation (with all due respect to the above two)
Anything else I've missed?
Did you consider
Creating UML 2 diagrams with Eclipse UML2 Tools - Tutorial ?
I had older references for such tools, but the new ones are build upon UML2 project (described in the tutorial). MDT-UML2Tools is in the making, Omondo is there, but not free.
Papyrus UML, for instance, is based on UML2 Tool.
There is a tool in the Marketplace that can do the above (UML Class, Package and Interaction). It's called ModelGoon. Last tried in July 2018.
The full list is available at Eclipse marketplace.
If you want to stay within Eclipse: use free ObjectAid - discovers parents, nestings, associations.
If you want the tool, which in addition discovers and show children, usages, dependencies, annotations - then use free Class Visualizer.
I generally use Doxygen to create documentation because it has built-in support to generate inheritance diagrams. There is an Eclipse plug-in for Doxygen called eclox. It is not longer maintained since December 1st.
Doxygen is based on Graphviz. You could directly use LightUML, which is based on Graphviz to create UML diagrams in Eclipse.
Annotate your classes with Ecore's annotations, then you can import an Ecore file from them. You can initialize an Ecore diagram from them, or export it to UML, and initialize a class diagram from it.