aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features190/efficientTJP/Clinit.java
blob: e8acea835eea4b15cc2dfe87d7f1a985cc1c7dc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class Clinit {
	public static void main(String []argv) {
		new Inner();
	}

	static class Inner {}
}

aspect X {
	before(): staticinitialization(Clinit.Inner) {
		System.out.println(thisJoinPointStaticPart.getSignature());
	}
	before(): staticinitialization(Clinit) {
		System.out.println(thisJoinPointStaticPart.getSignature());
	}
}