I\'m searching for a way to get a list of method stubs of all classes within a jar file. I\'m not sure where to start... May I use Reflection or Javassist or some other tools of
The best way I can think of is to use the ASM-bytecode framework. Then at least you wouldn't have to go through some decompilation-output with a line-parser. In fact, getting the method-stubs should be like a 20-line implementation of one of their Visitor-interfaces.
I've used it myself for bytecode rewriting and it's fairly simple and straight forward (especially if you're just reading the class-files).
http://asm.ow2.org/