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

javaSetter

JVM
1.0
val KMutableProperty < * > . javaSetter : Method ?
(source)

Returns a Java Method instance corresponding to the setter of the given mutable property, or null if the property has no setter, for example in case of a simple private var in a class.

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 .