aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features160/annotationValueMatching/CharValueMatching.java
blob: 8a440a5a6a17061be79c3717fac5a0dda8f3254f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.lang.annotation.*;

public class CharValueMatching {
  public static void main(String[] args) { }

  @Anno(cval='e') public void methodOne() {}
  @Anno(cval='a') public void methodTwo() {}
}

@interface Anno {
  char cval();
}


aspect X {	
  before(): execution(@Anno(cval='a') * *(..))  {}
}