aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features160/annotationValueMatching/EnumTest1.java
blob: 47966ecbde22eb7d68b0739e3758291119b2f9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package a;

import p.*;

public aspect EnumTest1 {
	public static void main(String[] argv) {
		
	}
	@TrafficLight(Color.RED) public void m() {}
	@TrafficLight(Color.GREEN) public void n() {}
	@TrafficLight public void o() {}
	
	before(): execution(@TrafficLight(Color.RED) * *(..)) {} // referencing Color via import of p.*
}