aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features190/efficientTJP/Three.java
blob: 479c7f7d1ad03019815ee8bb7a7828604a90d945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Three {
	public static void main(String []argv) {
		System.out.println("Three running");
		new Three();
		new Three("abc");
		new Three(1,"abc");
	}

	Three() {}
	Three(String s) {}
	Three(int i, String s) {}
}

aspect X {
	void around(): execution(new(..)) && !within(X) {
		System.out.println(thisJoinPointStaticPart.getSignature());
		proceed();
	}
}