1 2 3 4 5 6 7 8 9 10 11 12 13
public aspect X2 { public Integer Sub2.m() {return new Integer(42);} public static void main(String []argv) { Super2 s = new Sub2(); Integer i = (Integer)s.m(); Util.checkMethods("Sub2", new String[]{ "java.lang.Object Sub2.m() [BridgeMethod]", "java.lang.Integer Sub2.m()"}); } }