Don't see any reason why Kotlin reflection shouldn...
# kotlin-native
m
Don't see any reason why Kotlin reflection shouldn't work. Java for sure won't.
s
I haven't used Kotlin reflection much yet due to it's very large library
How much does Kotlin reflection overlap java reflection?
m
Kotlin Reflection on JVM back-end is (probably) based on Java reflection and annotations like @Metadata, but Kotlin-native Reflection can't have anything in common with Java reflection.
m
Yes, there will be completely separate implementation for native. I would expect all the APIs we can use on JVM will be available, except of course
.javaClass
,
::class.java
and similar stuff.