eclipse 如何将 (.JAR) 文件转换为 UML?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4609910/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:35:55  来源:igfitidea点击:

How to convert a (.JAR) file to UML?

javaeclipsenetbeanseclipse-pluginuml

提问by CompilingCyborg

Please I have a .JAR file, i would like simply to convert this file to a UML. I have (NetBeans 6.9.1) and (Eclipse IDE for Java Developers) both installed on my machine.

请我有一个 .JAR 文件,我只想将此文件转换为 UML。我在我的机器上安装了 (NetBeans 6.9.1) 和 (Eclipse IDE for Java Developers)。

Any suggestions are greatly appreciated!

任何建议都非常感谢!

Thanks in advance!

提前致谢!

P.S: Using some search engines, i found (JAR2UML) plug-in for eclipse but sadly i failed in installing it.

PS:使用一些搜索引擎,我找到了eclipse的(JAR2UML)插件,但遗憾的是我没有安装它。

回答by Jonatan Ka?mierczak

Free Class Visualizerdoes exactly that - you load JAR file(s) or compiled classes into the tool and, as a result, you see auto-generated, navigable UML class diagrams. You can search for any class and browse its content as well as relations.

Free Class Visualizer正是这样做的——您将 JAR 文件或已编译的类加载到工具中,因此,您会看到自动生成的、可导航的 UML 类图。您可以搜索任何类并浏览其内容和关系。

回答by UML GURU

I found the following documentation: http://www.ejb3.org/jar_file_reverse/jar_file_reverse.htmlThis tool is not free but it works pretty well.

我找到了以下文档:http://www.ejb3.org/jar_file_reverse/jar_file_reverse.html这个工具不是免费的,但它运行得很好。

You can also use Topcased but the quality of the reversed information is mediocre and it is not really possible to recreate advanced diagrams from the reversed model.

您也可以使用 Topcased,但反向信息的质量一般,并且实际上不可能从反向模型重新创建高级图表。

回答by Carlos Valenzuela

You wanna make an UML file? or an UML diagram from a Java program ? if it's the second, NetBeans has it's own UML plugin, in the full download version, or find the plugin here

你想制作一个 UML 文件吗?或来自 Java 程序的 UML 图?如果是第二个,NetBeans 有它自己的 UML 插件,在完整下载版本中,或者在这里找到插件

回答by caltuntas

if you dont have source code of this Jar file, you can decompile itwhen reproduce UML via netbeans,eclipse UML plugins.Btw I am not sure how correct results of UML diagrams will be.

如果你没有这个 Jar 文件的源代码,你可以在通过 netbeans、eclipse UML 插件重现 UML 时反编译它。顺便说一句,我不确定 UML 图的结果有多正确。

回答by M99

Take a look at the list below. Particularly look under the Features section. Some of the tools are free and they support reverse engineering. Some tools go with Eclipse also.

看看下面的列表。特别是在“功能”部分下查看。一些工具是免费的,它们支持逆向工程。一些工具也适用于 Eclipse。

http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools

http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools