summaryrefslogtreecommitdiffstats
path: root/tests/features153/jdtlikehandleprovider/Get.aj
blob: cb300ff34baa53bef08e5cb5bb8ee1c72b277d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
aspect A1 {

	pointcut getPcd() : get(int C1.x);
	
	before() : getPcd() {
	}
	
}

class C1 {
	
	int x = 0;
	
	public void method1() {
		int y = x;
		System.out.println("y " + y);
		int z = x;
		System.out.println("z " + z);		
	}
}