W3cubDocs

/Kotlin

javaMethod

val KFunction<*>.javaMethod: Method?

Platform and version requirements: JVM

Returns a Java Method instance corresponding to the given Kotlin function, or null if this function is a constructor or cannot be represented by a Java Method.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-method.html