aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs167/pr293203/Foo.java
blob: 83e766d63fd7466343de7e1a3ba18f32ccb37bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class Foo {
  public void m(int i,@Anno String s,int j) {}

  public static void main(String []argv) {
    new Foo().m(1,"A",2);
  }
}

@interface Anno {}

aspect X {
  before(): execution(* *(..,String,..)) {System.out.println("advice");}
  before(): execution(* *(..,@Anno (String),..)) {System.out.println("advice");}
  before(): execution(* *(*,@Anno (String),*)) {System.out.println("advice");}
}