summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/BridgingITD1.aj
blob: 8631df61847f8a99b335d6be3cf342d918e9c1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Now the implementation is introduced via an ITD, we should still get the bridge method in the class D
import java.lang.reflect.*;

class C {
	public C method1() {return null;}
}

class D extends C {
	// D method1() {return null;}
}

public aspect BridgingITD1 {
	public D D.method1() { return null; }
	public static void main(String []argv) {
	    Util.dumpMethods("D",new String[]{"C D.method1() [BridgeMethod]","D D.method1()"});
	}
}