How can I get access to kotlin reflection like mem...
# korge
m
How can I get access to kotlin reflection like members, isAbstract, isFinal etc. ? When importing kotlin-reflect in build.gradle.kts in Korge, kotlin reflection is only available in jvmMain-module. In commonMain I only have access to qualifiedName and simpleName, but not to all the other things like members etc. How can I get these functions in commonMain-module?
n
That’s expected behavior. Full reflection is not available and almost certainly will never be due to severe differences on the targets. Full reflection is only available in JVM (for Kotlin)
m
Schade. Ich hätte gern Zugriff auf Methoden via String gehabt, um meine State Machine zu verbessern und zu vereinfachen
🇺🇸 1