W3cubDocs

/Kotlin

javaSetter

val KMutableProperty<*>.javaSetter: Method?

Platform and version requirements: JVM

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.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-setter.html