title: Is the T class in generic Class<T> assignable from another class?
body: <p><strong>Edit</strong>
  Since there were many downvotes and people who didn't understand what I'm asking for, I'll rephrase:</p>
  
  <p>How do I find out at runtime what is the class that foo was generified from?</p>
  
  <pre><code>public boolean doesClassImplementList(Class&lt;?&gt; genericClass)
  {
    // help me fill this in
    // this method should return true if genericClass implements List
    // I can't do this because it doesn't compile:
    return genericClass instanceof List;
  }
  </code></pre>