kotlin / 1.7.0 / api / latest / jvm / stdlib / kotlin.reflect / -k-parameter / -kind / index.html /

Kind

Platform and version requirements: JVM (1.0)
enum class Kind

Kind represents a particular position of the parameter declaration in the source code, such as an instance, an extension receiver parameter or a value parameter.

Enum Values

Platform and version requirements: JVM (1.0)

INSTANCE

Instance required to make a call to the member, or an outer class instance for an inner class constructor.

Platform and version requirements: JVM (1.0)

EXTENSION_RECEIVER

Extension receiver of an extension function or property.

Platform and version requirements: JVM (1.0)

VALUE

Ordinary named value parameter.

© 2010–2022 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/-k-parameter/-kind/index.html