getParametrizedType

fun Class<*>.getParametrizedType(vararg typeArguments: Type): Type

Creates a parameterized type using the given class and type arguments.

Return

The parameterized type created using the given class and type arguments.

Parameters

typeArguments

The type arguments to be used in the parameterized type.