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

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

  @Anno(zval=true) public void methodOne() {}
  @Anno(zval=false) public void methodTwo() {}
}

@interface Anno {
  boolean zval();
}


aspect X {	
  before(): execution(@Anno(zval=true) * *(..))  {}
}