@@ -0,0 +1,450 @@
+package jvmgo.reflection;%0A%0Aimport jvmgo.UnitTestRunner;%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0Apublic class ClassInitTest %7B%0A    %0A    static class A %7B%0A        public static int a = 100;%0A    %7D%0A    %0A    public static void main(String%5B%5D args) %7B%0A        UnitTestRunner.run(ClassInitTest.class);%0A    %7D%0A    %0A    @Test%0A    public void getStatic() throws Exception %7B%0A        assertEquals(100, A.class.getField(%22a%22).get(null));%0A    %7D%0A    %0A%7D%0A

add ClassInitTest.java