KmClassifier

sealed class KmClassifier

Represents a classifier of a Kotlin type. A classifier is a class, type parameter, or type alias. For example, in MutableMap<in String?, *>, MutableMap is the classifier.

Inheritors

Types

Link copied to clipboard
data class Class(val name: ClassName) : KmClassifier

Represents a class used as a classifier in a type.

Link copied to clipboard
data class TypeAlias(val name: ClassName) : KmClassifier

Represents a type alias used as a classifier in a type. Note that all types are expanded for metadata produced by the Kotlin compiler, so the type with a type alias classifier may only appear in KmType.abbreviatedType.

Link copied to clipboard
data class TypeParameter(val id: Int) : KmClassifier

Represents a type parameter used as a classifier in a type.