ImmutableKmType

data class ImmutableKmType : ImmutableKmWithFlags

Immutable representation of KmType.

Represents a type.

Functions

toMutable
Link copied to clipboard
fun toMutable(): KmType

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