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

import p.*;

public aspect EnumTest2 {
	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(p.Color.RED) * *(..)) {}; // referencing Color directly in package p
}