title: How do I get a reference to a Class<T> for generic types?
body: <p>I'm using a library that has a method like this:</p>
  
  <pre><code>public class LibClass&lt;T&gt; {
    public LibClass(Class&lt;T&gt; arg1) {...}
  }
  </code></pre>
  
  <p>Now I want to create an instance of <code>LibClass</code> for <code>List&lt;String&gt;</code></p>
  
  <pre><code>LibClass&lt;List&lt;String&gt;&gt; instance = new LibClass&lt;List&lt;String&gt;&gt;(/* what goes here? */);
  </code></pre>
  
  <p>How can I create a Class object that will satisfy the argument when that class uses generics?</p>