ImmutableKmTypeAlias

data class ImmutableKmTypeAlias : ImmutableKmWithFlags

Immutable representation of KmTypeAlias.

Represents a Kotlin type alias declaration.

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
val annotations: List<KmAnnotation>
Annotations on the type alias.
expandedType
Link copied to clipboard
val expandedType: ImmutableKmType
Expanded type of the type alias, i.e.
flags
Link copied to clipboard
open override val flags: Flags
TypeAlias flags, consisting of Flag.HAS_ANNOTATIONS and visibility flag.
name
Link copied to clipboard
val name: String
The name of the type alias.
typeParameters
Link copied to clipboard
val typeParameters: List<ImmutableKmTypeParameter>
Type parameters of the type alias.
underlyingType
Link copied to clipboard
val underlyingType: ImmutableKmType
Underlying type of the type alias, i.e.
versionRequirements
Link copied to clipboard
val versionRequirements: List<ImmutableKmVersionRequirement>
Version requirements on the type alias.