← Docs
kotlin-stdlib / kotlin.reflect.jvm / java.lang.reflect.Method / kotlinFunction

kotlinFunction

JVM
1.0
val Method . kotlinFunction : KFunction < * > ?
(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .