1 8 package test.withincode; 9 10 import test.handler.HandlerTestBeforeException; 11 12 13 20 public class Target { 21 private static CtorCallTarget s_field; 22 23 static { 24 s_field = new CtorCallTarget(); 26 if(null != s_field) { ; 28 } 29 30 try { 31 staticMethod(); 32 } catch(HandlerTestBeforeException htbe) { 33 ; 34 } 35 } 36 37 public static final void staticMethod() throws HandlerTestBeforeException { 38 throw new HandlerTestBeforeException(); 39 } 40 41 private static class CtorCallTarget { 42 public CtorCallTarget() { 43 } 44 } 45 46 public static interface IWithincodeClinitAnnotation { 47 String value(); 48 } 49 } 50 | Popular Tags |