I want to write a tool that generates some code using a compiled .class file as input. In particular, I want to read from this class file:
- Methods with annotations
- Method Parameters with Annotations
The input class file most likely belongs to several types that are not related to the tool class path. This is normal, I donβt need to do anything with them, I just need to read fully qualified type names as strings. I need to get some information from annotations, but they will be in the class path of the tool.
Is there a library that I can use for this purpose? It would be nice if the API was a bit like the reflection API, but this is not necessary.
source share