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