juangamnik
08/06/2016, 6:49 AMClass<T> represents the raw type of T not the paramaterized type. But more is not necessary to do is T because you can use assignableFrom(). You can create new instances via the class object, too. Do you mean whether it is an optional type or not with nullable information is ? This information would be already available in the method signature.
So the hard one is as T (which by the way does not work as expected regarding dispatching in inline functions either see https://github.com/Kotlin/KEEP/pull/35). Copying the function (instead of inlining) would solve this issue, but I do not have a good solution for the implicit parameter variant… I have to think about this đŸ˜‰