I’d like to load some Java .class files and extract information from them. I don’t want to load them for a number of reasons, not least being performance. I’d then like to examine them to see what annotations, field, methods etc that they have.
Can anyone suggest what tool is best for this?
How about using a byte code manipulation tool such as ASM or BCEL? Both supports reading and writing class files without having to load them via a class loader.