Companion

Functions

Link copied to clipboard
fun ofClass(clazz: Class<*>, arguments: List<KotlinTypeToken<*>> = listOf()): KotlinTypeToken<*>

Creates a KotlinTypeToken constructed by a clazz, followed by its type arguments.

Link copied to clipboard

Creates a KotlinTypeToken with the given KClass.

Link copied to clipboard

Creates a KotlinTypeToken with the given KType, unchanged.