For a Hobby Project of mine which includes a Compiler I need to Analyse class Files generated by scalac.
To be Specific I need to do the Following:
- Find the Generic Arguments of a Class inkl. Higher order Kinds
- Find Methods Anotated with a Specific Annotation
- Find the Scala specific Signature of the Method inkl. Higher order Kinds
I know, that I could use scala Reflection, but I would prefer not to load the class during compiletime if possible, because this neads all the runtime dependency to be on the class path during compiletime and furter may excecute static initializers.
Is their any Library or other Tool which could simplify the task of scala class file analysis.