apatrida
12/30/2015, 9:32 PMClass<T> which is an erased type. so you delete it by doing that or T::class deletes the generics as well. That is a Java construct, one of the descendants of Type retains the information such as ParameterizedType but not Class