aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs166/pr288635/InterceptTraceds.java
blob: a33f4ad8b6163217b1f226b05eb08dff2a7e3aea (plain)
1
2
3
4
5
6
7
8
9
10
11
public aspect InterceptTraceds {

	before(Anno t) : execution(@Anno * *.*(..)) && @annotation(t) {
		if (t != null) {
			System.out.println("Executing " + thisJoinPoint + " on level " + t.level());
		} else {
			System.out.println("Annotation was null on " + thisJoinPoint);
		}
	}
	
}