title: Get a Class<T> literal or a Type
body: <p>Is it possible to get something similar to <code>Class&lt;List&lt;Data&gt;&gt;.class</code>? I read you can't call <code>.class</code> because of how it works interanlly, so I was wondering if maybe using something similar to <code>new ArrayList&lt;Data&gt;().getClass()</code> might work? That one in particular doesn't work as the returned class is <code>Class&lt;? extends List&lt;Data&gt;&gt;</code> so I'm out of options, is it even possible?</p>
  
  <p><strong>Context</strong>: I'm trying to parse a <code>List&lt;Data&gt;</code> using <a href="https://github.com/square/moshi" rel="nofollow">square/moshi</a> but the library seems to be on alpha so there is no documentation on it.</p>