Join Slack
Powered by
Is there a way to get a java method from a kotlin ...
# getting-started
z
zt
05/08/2023, 4:49 AM
Is there a way to get a java method from a kotlin method in Kotlin 1.5.21. I found the javaMethod extension function, but it's not available in 1.5.21. Is there no other option?
e
Edwar D Day
05/08/2023, 5:37 AM
There should be the
javaMethod
even in 1.5.21 according to GitHub
https://github.com/JetBrains/kotlin/blob/v1.5.21/core/reflection.jvm/src/kotlin/reflect/jvm/ReflectJvmMapping.kt#L62
Open in Slack
Previous
Next