ImmutableKmTypeAlias

Immutable representation of KmTypeAlias.

Represents a Kotlin type alias declaration.

data class ImmutableKmTypeAlias : ImmutableKmWithFlags

Functions

component1
Link copied to clipboard
operator fun component1(): Flags
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): List<ImmutableKmTypeParameter>
component4
Link copied to clipboard
operator fun component4(): ImmutableKmType
component5
Link copied to clipboard
operator fun component5(): ImmutableKmType
component6
Link copied to clipboard
operator fun component6(): List<KmAnnotation>
component7
Link copied to clipboard
operator fun component7(): List<ImmutableKmVersionRequirement>
copy
Link copied to clipboard
fun copy(flags: Flags, name: String, typeParameters: List<ImmutableKmTypeParameter>, underlyingType: ImmutableKmType, expandedType: ImmutableKmType, annotations: List<KmAnnotation>, versionRequirements: List<ImmutableKmVersionRequirement>): ImmutableKmTypeAlias
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(): KmTypeAlias
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotations
Link copied to clipboard

Annotations on the type alias.

val annotations: List<KmAnnotation>
expandedType
Link copied to clipboard

Expanded type of the type alias, i.e. the full expansion of the underlying type, where all type aliases are substituted with their expanded types. If no type aliases are used in the underlying type, expanded type is equal to the underlying type.

val expandedType: ImmutableKmType
flags
Link copied to clipboard

TypeAlias flags, consisting of Flag.HAS_ANNOTATIONS and visibility flag.

open override val flags: Flags
name
Link copied to clipboard

The name of the type alias.

val name: String
typeParameters
Link copied to clipboard

Type parameters of the type alias.

val typeParameters: List<ImmutableKmTypeParameter>
underlyingType
Link copied to clipboard

Underlying type of the type alias, i.e. the type in the right-hand side of the type alias declaration.

val underlyingType: ImmutableKmType
versionRequirements
Link copied to clipboard

Version requirements on the type alias.

val versionRequirements: List<ImmutableKmVersionRequirement>