title: How to get type arguments class of generic method parameter?
body: <p>How to get the type argument of an argument passed to a method ?  For example I have </p>
  
  <pre><code>List&lt;Person&gt; list = new ArrayList&lt;Person&gt;(); 
  
  public class Datastore {
  
    public &lt;T&gt; void insert(List&lt;T&gt; tList) {
       // when I pass the previous list to this method I want to get Person.class ; 
    }
  } 
  </code></pre>