开发者

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

开发者 https://www.devze.com 2023-02-24 18:23 出处:网络
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

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

精彩评论

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

关注公众号