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

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

  @Anno(sval=32700) public void methodOne() {}
  @Anno(sval=27) public void methodTwo() {}
}

@interface Anno {
  short sval();
}


aspect X {	
  before(): execution(@Anno(sval=32700) * *(..))  {}
}