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.
精彩评论