W3cubDocs

/Kotlin

javaGetter

val KProperty<*>.javaGetter: Method?

Platform and version requirements: JVM

Returns a Java Method instance corresponding to the getter of the given property, or null if the property has no getter, for example in case of a simple private val 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-getter.html