title: Create generic list, whereby type of the list known only at runtime
body: <p>I want to generate a generic list where the type of the list is known only at runtime (its the type of the object, which create that list).</p>
  
  <p>Complete description:</p>
  
  <p>I want to implement this functionality in a abstract class, so i know the parent class before runtime.</p>
  
  <p>Don't know how to do that.</p>
  
  <pre><code>    Class myClass = getClass().getSuperclass();
      LinkedList&lt;myClass&gt; list = new LinkedList&lt;myClass&gt;();
  </code></pre>
  
  <p>does not work. Any ideas?</p>