开发者

Is there a tool for checking what method from what package I am using in Java?

I have Java projects referenc开发者_开发技巧ing methods from several external jars. I would like to have a list of all the methods, including the class and package, which I am using in my projects. I have tried JDepend, but it stops at package level. Is there other any other tool I could use?

Thank you.


Tattletale may be of help http://www.jboss.org/tattletale


With JavaDepend you can execute the following CQL request:

SELECT TYPES WHERE IsDirectlyUsedBy "myproject"

SELECT METHODS WHERE IsDirectlyUsedBy "myproject"

SELECT FIELDS WHERE IsDirectlyUsedBy "myproject"

And with CQL there's many other possibilities to query code base like a database.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜