kotlin.reflect.full.extensionReceiverParameter

extensionReceiverParameter

val KCallable<*>.extensionReceiverParameter: KParameter?

Platform and version requirements: Kotlin 1.1, JVM

Returns a parameter representing the extension receiver instance needed to call this callable, or null if this callable is not an extension.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容