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

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

  @Anno(stringval="foobar") public void methodOne() {}
  @Anno(stringval="goo") public void methodTwo() {}
}

@interface Anno {
  String stringval();
}


aspect X {	
  before(): execution(@Anno(stringval="foobar") * *(..))  {}
}