aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs191/var/Code3.java
blob: f2494bc6de98aaa7172bfcdb8d0fc1be84988210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
public class Code3 {
	public static void main(String []argv) {
		var x = "hello";
		System.out.println(x.getClass());
	}
}

aspect X {
	before(): call(* *.getClass()) && target(String) {
		System.out.println(thisJoinPointStaticPart);
	}
}