开发者

How to find out all the dependency class names of one class?

I have a big list of classes, a lot of them are not used any more.

I know the entries class, I'd like to know all its child classes. I know read clas开发者_如何转开发s binary would help, wondering whether there is any better way.

We are not using class.forName.

thanks.


I'd rather use a static code analysis tool like:

  • UCDetector
  • FindBugs

These do not find dependencies, but find "dead code". And that's what you are trying to achieve as far as I understand.


Check out Class Dependency Analyzer

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜