views:

48

answers:

1
+1  Q: 

Java dependency

Hi All, I am looking for a small package in java that can extract all the class hierarchy and dependencies. I think I have to dig AST for this purpose but I am looking for a package that i can use for my application. ( don't want to re-invent the wheel ) Thanks !

+1  A: 

JDepend is a popular open source library for doing this sort of thing.

If you are looking to integrate this directly into you own application JDepend has an API that is intended to be used from JUnit tests but could be used in other scenarios.

Tendayi Mawushe
+1 you already added it
stacker