domfox
10/20/2017, 2:20 PMClass<T>
doesn't in general carry enough type information to do all the work that a reified type parameter could do. A reified type parameter basically picks up the type declared to the compiler in the code into which the function is inlined, including any of its type parameters. That information is lost - erased - if all you have in hand is List.class
, for example.