summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr87530/FinalITDMOnInterface2.aj
blob: 5b08e6e6df868910f072073b35eb1891d55901a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
public class FinalITDMOnInterface2 {
	
	public static void main(String[] args) {
		FinalITDMOnInterface2 f = new FinalITDMOnInterface2();
		f.m();
	}
	
	public void m() {
		System.out.println("in class method");
	}
	
}

aspect A {
	
	interface TestInterface {}
	
	public final void TestInterface.m() {
		System.out.println("in aspect declared method");
	}
	
	declare parents : FinalITDMOnInterface2 implements TestInterface;
	
}