title: Get value of static field from Class
body: <pre><code>abstract class A {
      static int i = 5;
  }
  
  class B extends A {
      static int i = 6;
  }
  
  class C extends A {
      static int i = 7;
  }
  </code></pre>
  
  <p>Now I have an <code>ArrayList&lt;Class&lt;? extends A&gt;&gt;</code>. How can I get the value of the static field from an <code>Class&lt;? extends A&gt;</code>?</p>