Java项目需要UML逆向工程工具
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4449291/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Need UML reverse engineering tool for Java project
提问by JaneNY
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 ?
我需要用Java维护一些项目,但它非常大。我需要一些 Eclipse 插件或单独的程序,它可以从 Java 项目生成 UML。有什么可以帮助我的吗?
回答by duffymo
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.
大多数 UML 工具都可以导入 Java 代码。上次我使用 JUDE 社区版时,它可以做到,但他们已将其拆分为社区版和付费版。我不确定免费的是否已经存在。Sparx Enterprise Architect 也可以导入 Java。
回答by Cratylus
回答by Ratna Dinakar
This has been asked before.. please find it at
这之前已经问过..请在
How to generate UML diagrams (especially sequence diagrams) from Java code
回答by athspk
Tools --> Instant Reverse --> Java --> Specify your sources and you are done.
工具 --> 即时反向 --> Java --> 指定你的来源,你就完成了。
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
编辑:也看看这个视频
回答by qichuan
回答by Clifford
Umbrellosupports Java code import, and it is open source, so will cost you nothing to try.
Umbrello支持 Java 代码导入,并且它是开源的,因此您无需花费任何费用即可尝试。
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.
你也可以试试Doxygen(使用GraphViz);它将生成 UML '风格' 类图,对于不熟悉的代码库来说,它是一个很好的代码导航工具。虽然不是真正的 UML 工具,但可能适合您的要求。
回答by Martin Spamer
I recommend Enterprise Architectwhich supports full reverse and forward engineering including for Java. Automatic Documentation generation as Word, PDF or website.
我推荐Enterprise Architect,它支持完整的反向和正向工程,包括 Java。自动将文档生成为 Word、PDF 或网站。
回答by Jonatan Ka?mierczak
Free Class Visualizerdoes 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).
Free Class Visualizer正是这样做的 - 您加载已编译的 Java 代码,并因此接收允许您浏览关系的类图。它支持参数化类型、注释并发现所有类型的出站和入站关系(包括依赖项)。