← Docs
kotlin-stdlib / kotlin.reflect.jvm / java.lang.reflect.Field / kotlinProperty

kotlinProperty

JVM
1.0
val Field . kotlinProperty : KProperty < * > ?
(source)

Returns a KProperty instance corresponding to the given Java Field instance, or null if this field cannot be represented by a Kotlin property (for example, if it is a synthetic field).

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 .