Join Slack
Powered by
To answer your question about obtaining the class ...
# announcements
d
damian
11/11/2015, 1:00 AM
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>
)
Open in Slack
Previous
Next