ImmutableKmType

data class ImmutableKmType : ImmutableKmWithFlags

Immutable representation of KmType.

Represents a type.

Functions

component1
Link copied to clipboard
operator fun component1(): Flags
component2
Link copied to clipboard
operator fun component2(): KmClassifier
component3
Link copied to clipboard
operator fun component3(): List<ImmutableKmTypeProjection>
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(): ImmutableKmFlexibleTypeUpperBound?
component7
Link copied to clipboard
operator fun component7(): Boolean
component8
Link copied to clipboard
operator fun component8(): List<KmAnnotation>
copy
Link copied to clipboard
fun copy(flags: Flags, classifier: KmClassifier, arguments: List<ImmutableKmTypeProjection>, abbreviatedType: ImmutableKmType?, outerType: ImmutableKmType?, flexibleTypeUpperBound: ImmutableKmFlexibleTypeUpperBound?, isRaw: Boolean, annotations: List<KmAnnotation>): ImmutableKmType
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(): KmType
toString
Link copied to clipboard
open override fun toString(): String

Properties

abbreviatedType
Link copied to clipboard
val abbreviatedType: ImmutableKmType?
Abbreviation of this type.
annotations
Link copied to clipboard
val annotations: List<KmAnnotation>
Annotations on the type.
arguments
Link copied to clipboard
val arguments: List<ImmutableKmTypeProjection>
Arguments of the type, if the type's classifier is a class or a type alias.
classifier
Link copied to clipboard
val classifier: KmClassifier
Classifier of the type.
flags
Link copied to clipboard
open override val flags: Flags
Type flags, consisting of Flag.Type flags.
flexibleTypeUpperBound
Link copied to clipboard
Upper bound of this type, if this type is flexible.
isExtensionType
Link copied to clipboard
val isExtensionType: Boolean
true if this is an extension type (i.e.
isRaw
Link copied to clipboard
val isRaw: Boolean
true if the type is seen as a raw type in Java.
outerType
Link copied to clipboard
val outerType: ImmutableKmType?
Outer type of this type, if this type's classifier is an inner class.

Extensions

isNullable
Link copied to clipboard
val ImmutableKmType.isNullable: Boolean
isSuspend
Link copied to clipboard
val ImmutableKmType.isSuspend: Boolean