title: How do I extend Java classes by Reflection?
body: <p>I have two Strings:</p>
  
  <pre><code>String a="org.test.A";
  String b="org.test.B";
  </code></pre>
  
  <p>I get a class by Reflection</p>
  
  <pre><code>Class aClass = Class.forName(a);
  </code></pre>
  
  <p>I want aClass extends b, like:</p>
  
  <pre><code>Class okClass=aClass.extends(b);//how to implement this?
  </code></pre>
  
  <p>how to implement this?</p>
  
  <p>how to get okClass?</p>
  
  <p>thanks!</p>