I want to use Scala 3 runtime reflection and to invoke reflected methods for example.
How do I do it?
I want to use Scala 3 runtime reflection and to invoke reflected methods for example.
How do I do it?
Compared to Scala 2, there is almost no Scala 3 runtime reflection available. You can use good old Java reflection instead, or compile time reflection (macros).
If you will search for Scala 3 runtime reflection, you should find a few libraries which try to do the hard part of the reflection for you.
@OndrejSpanel Thank you for your response. =)
I now use old Java Reflection.