W3cubDocs

/Kotlin

javaMethod

Platform and version requirements: JVM (1.0)
val KFunction<*>.javaMethod: Method?

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–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-method.html