BlueDolphin
BlueDolphin

Reputation: 9765

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 class binary would help, wondering whether there is any better way.

We are not using class.forName.

thanks.

Upvotes: 2

Views: 818

Answers (2)

Suresh Kumar
Suresh Kumar

Reputation: 11767

Check out Class Dependency Analyzer

Upvotes: 0

Bozho
Bozho

Reputation: 597016

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

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

Upvotes: 1

Related Questions