// this bridge stuff is handled by the compiler // We should get two methods in D, one is next() with return type Object // and one is next() with return type String import java.lang.reflect.*; abstract class C { abstract A next(); } class D extends C { String next() {return "";} } public aspect Bridging2 { public static void main(String []argv) { Util.dumpMethods("D"); } }