aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features153/jdtlikehandleprovider/A11.aj
blob: 6a15c9ea32a73a47202ea1b83cfe519197f051ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package pkg;

public aspect A11 {
	
	declare warning: call(* C.setX(..)): "Illegal call.";
    declare warning : execution(* C.setX(..)) : "blah";
}

class C {
	
	public void setX() {
	}
	
	public void method() {
		new C().setX();
	}
	
}