You can actually do a trick to grab the non erased generics from Class<T> parameter, but it only works of the call site has the full generic information, not if you use the
::class
operation. So it isn't safe to do because you invite the operation which breaks the reified T.