title: How to pass generic into this method
body: <p>I have method look like </p>
  
  <pre><code>doSomething( Class&lt;T&gt; valueType)
  </code></pre>
  
  <p>i call pass value like </p>
  
  <blockquote>
    <p>Map.class, Long.class</p>
  </blockquote>
  
  <p>as parameter into above method. If i want to use generic.  how should i pass the value into above method?  <code>doSomething(Class&lt;Map&gt;);</code>  doesnt work</p>