序列图逆向工程 [英] Sequence Diagram Reverse Engineering

查看:169
本文介绍了序列图逆向工程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种工具,可以将Java反向工程为序列图。但也提供了过滤掉某些库调用的功能。

I'm looking for a tool that will reverse engineer Java into a sequence diagram BUT also provides the ability to filter out calls to certain libraries.

例如,Netbeans IDE在这方面表现非常出色,但它包括对String或Integer的所有调用,这会使图表混乱到无法使用的程度。

For example, the Netbeans IDE does a fantastic job of this but it includes all calls to String or Integer which clutter up the diagram to the point it is unusable.

非常感谢任何帮助!!!!!!!

Any help is greatly appreciated!!!!!!!

推荐答案

我认为您正在寻找 jtracert 。它从正在运行的Java程序生成序列图。此外,因为它的输出是图表的文本描述(以几种流行的SD工具的格式),您可以使用grep仅过滤您感兴趣的类。

I think jtracert is what you are looking for. It generates a sequence diagram from a running Java program. Also, because its output is a text description of the diagram (in the formats of several popular SD tools), you can use grep to filter for only the classes you are interested in.

这篇关于序列图逆向工程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆