class TypeVariableName : TypeName
val bounds: List<TypeName> |
|
val isReified: Boolean |
|
val name: String |
|
val variance: KModifier?
Either KModifier.IN, KModifier.OUT, or null. |
val annotations: List<AnnotationSpec> |
|
val isAnnotated: Boolean |
|
val isNullable: Boolean |
fun copy(nullable: Boolean, annotations: List<AnnotationSpec>): TypeVariableNamefun copy(nullable: Boolean = this.isNullable, annotations: List<AnnotationSpec> = this.annotations.toList(), bounds: List<TypeName> = this.bounds.toList(), reified: Boolean = this.isReified): TypeVariableName |
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun toString(): String |
operator fun invoke(name: String, variance: KModifier? = null): TypeVariableName
Returns type variable named operator fun invoke(name: String, vararg bounds: TypeName, variance: KModifier? = null): TypeVariableNameoperator fun invoke(name: String, vararg bounds: KClass<*>, variance: KModifier? = null): TypeVariableNameoperator fun invoke(name: String, vararg bounds: Type, variance: KModifier? = null): TypeVariableName
Returns type variable named |
fun TypeName.jvmSuppressWildcards(suppress: Boolean = true): TypeName |
|
fun TypeName.jvmWildcard(): TypeName |