kotlin.reflect.jvm.java.lang.reflect.Method.kotlinFunction

kotlinFunction

val Method.kotlinFunction: KFunction<*>?

Platform and version requirements: JVM

Returns a KFunction instance corresponding to the given Java Method instance, or null if this method cannot be represented by a Kotlin function (for example, if it is a synthetic method).

登录查看完整内容