KTypeParameter
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
interface KTypeParameter : KClassifier
Represents a declaration of a type parameter of a class or a callable. See the Kotlin language documentation for more information.
Properties
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
isReified
true
if this type parameter is reified
. See the Kotlin language documentation for more information.
abstract val isReified: Boolean
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
name
The name of this type parameter as it was declared in the source code.
abstract val name: String
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
upperBounds
Upper bounds, or generic constraints imposed on this type parameter. See the Kotlin language documentation for more information.
abstract val upperBounds: List<KType>
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
variance
Declaration-site variance of this type parameter. See the Kotlin language documentation for more information.
abstract val variance: KVariance
© 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-type-parameter/index.html