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

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

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