ImmutableKmTypeProjection

data class ImmutableKmTypeProjection

Immutable representation of KmTypeProjection.

Represents type projection used in a type argument of the type based on a class or on a type alias. For example, in MutableMap<in String?, *>, in String? is the type projection which is the first type argument of the type.

Types

Companion
Link copied to clipboard
object Companion

Functions

component1
Link copied to clipboard
operator fun component1(): KmVariance?
component2
Link copied to clipboard
operator fun component2(): ImmutableKmType?
copy
Link copied to clipboard
fun copy(variance: KmVariance?, type: ImmutableKmType?): ImmutableKmTypeProjection
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toMutable
Link copied to clipboard
fun toMutable(): KmTypeProjection
toString
Link copied to clipboard
open override fun toString(): String

Properties

type
Link copied to clipboard
val type: ImmutableKmType?
The projected type, or null if this is a star projection.
variance
Link copied to clipboard
val variance: KmVariance?
The variance of the type projection, or null if this is a star projection.