newb: How to determine package dependencies from one jar?
"Hiller, Dean D \(Dean\)" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <676171B29CCEA84FBE05EEA11935AE63059EE746@cof110avexu1.global.avaya.com> |
Is there a way to use the bcel, to go through a jar and determine that biz.xsoftware.router depends on biz.xsoftware.model? I basically want to go through all the class files in biz.xosftware.router package and see if any depend on any classes in the bix.xsoftware.model. Where do I bootstrap the bcel to load the jar that I want to introspect? I basically want to go through all the packages in that one jar. Do I have to load all the classes individually first using ClassParser and parsing every one, or is there a class I am missing that will give me JavaClass array from the jar? Thanks for any pointers in the right direction, dean