aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr80571.aj
blob: f7e3bc80641a326aa85e52c0f4164909292bbc5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class pr80571 {
	
	public static void main(String[] args) {
		new pr80571();
	}
	
}

interface I {
	public final String NAME = "I";
	public pr80571 testObj = new pr80571();
	
}

aspect A {
	Object around() : call(*.new(..)) {
		System.out.println("before");
		Object ret = proceed();
		System.out.println("after");
		return ret;
	}
}