W3cubDocs

/Kotlin

javaSetter

Platform and version requirements: JVM (1.0)
val KMutableProperty<*>.javaSetter: Method?

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–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/java-setter.html