marcinmoskala04/06/2020, 3:18 PM
but don’t have any idea how to make KClass out of that. Any ideas?
diesieben0704/07/2020, 7:25 AM
is a runtime representation. But during kapt the code is still being compiled, there is no runtime. What you can do is extract the
annotation from the classes and then use
to parse the Kotlin-specific information. Its not as easy to use as just
, but if you absolutely need some Kotlin-specific information out of the class you can use it. https://github.com/JetBrains/kotlin/tree/master/libraries/kotlinx-metadata/jvm
marcinmoskala04/07/2020, 5:38 PM