NetBeans 7依赖图(未使用的类/方法) [英] NetBeans 7 dependency graph (unused class/method)

查看:264
本文介绍了NetBeans 7依赖图(未使用的类/方法)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法为NetBeans 7中的Java SE项目的类和/或方法创建依赖关系图?我有一个非常大的项目,我想清理未使用的类或方法(和一个依赖图也将是有用的)。

Is there a way to create a dependency graph for classes and/or methods of Java SE projects within NetBeans 7? I have a very large project and I'd like to clean up unused classes or methods (and a dependency graph would also be useful).

图形将是主要类的入口点,并且邻接将是方法调用(包括一些Swing框架方法到覆盖Java Swing框架的类)。

The "center" of the graph would be the main() entry point of main classes I invoke, and adjacencies would be method calls (including some Swing framework methods to classes which override the Java Swing framework).

推荐答案

这很奇怪,当我在NetBeans 7.0.1中右键单击一个项目时,我可以选择显示依赖关系图显示一个依赖关系图,完成冲突和一切!

That's weird, when I right click on a project in NetBeans 7.0.1 I can choose "Show dependency graph" and it shows me a dependency graph, complete with conflicts and everything!

这篇关于NetBeans 7依赖图(未使用的类/方法)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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