fun KProperty1<*, *>.getExtensionDelegate(): Any?
Returns the instance of a delegated extension property, or null
if this property is not delegated. Throws an exception if this is not an extension property.
See Also
fun <D> KProperty2<D, *, *>.getExtensionDelegate( receiver: D ): Any?
Returns the instance of a delegated member extension property, or null
if this property is not delegated. Throws an exception if this is not an extension property.
receiver
- the instance of the class used to retrieve the value of the property delegate.
See Also
© 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.full/get-extension-delegate.html