v1.8.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.reflect.jvm / java.lang.reflect.Constructor / kotlinFunction

kotlinFunction

JVM
1.0
val <T : Any> Constructor<T>.kotlinFunction: KFunction<T>?
(source)

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

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