Is there a good reflection library available for Scala?
- by Erik Engbrecht
I'm working on a library that needs reflection, and needs Scala-specific information as opposed to what is available via the standard Java reflection API. Right now I'm using the undocumented code in scalap (the Scala equivalent to javap) and trying to associate the data it provides with Java reflection objects so that I can call methods and such (scalap just parses class files).
I found this but there's nothing there...
https://github.com/dubochet/scala-reflection
...and I've searched the Scala SVN repo for traces of it and failed to find it there, either (but it could be I just missed it).
Does anyone know of a Scala reflection library that provides information similar to what scalap provides but also allows you to call methods, access fields, etc like the Java reflection library?