rawOf

fun rawOf(type: Type): Class<*>

The class of type: itself for a class, its raw class for a parameterized one, Object for any other.