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

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

  @Anno(bval=123) public void methodOne() {}
  @Anno(bval=27) public void methodTwo() {}
}

@interface Anno {
  byte bval();
}


aspect X {	
  before(): execution(@Anno(bval=123) * *(..))  {}
}