← Docs
kotlin-stdlib / kotlin.reflect.jvm / javaConstructor

javaConstructor

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

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

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 .