TypeAndClass

data class TypeAndClass<T : Any>(val type: KType, val clazz: KClass<T> = type.classifier as KClass<T>)(source)

Constructors

Link copied to clipboard
constructor(type: KType, clazz: KClass<T> = type.classifier as KClass<T>)

Properties

Link copied to clipboard
val clazz: KClass<T>
Link copied to clipboard
val type: KType

Functions

Link copied to clipboard

For GADTs, the subclasses whose type parameters failed to be inferred will be discarded.

Excluding those with star projections (and instantiated with type parameters).

Excluding those with star projections (and instantiated with type parameters).