To answer your question about obtaining the class ...
# announcements
d
To answer your question about obtaining the class instance though, you can do it for reified type parameters in the same way as other types:
T::class
is the
KClass<T>
(and
T::class.java
is the java
Class<T>
)