aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/pr353936/Code.java
blob: c35bfba4172542cf43e6dcaa7db730ed18fa3505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class Code {
  public void m() {
 
  }
}

aspect X {
  before(): execution(* m(..)) && cflow(adviceexecution()) {}

  before(): execution(* *(..)) {
    int i = 4;
    log("foo",thisJoinPoint);
    log(Integer.valueOf(i),thisJoinPoint);
  }
  public void log(String s,Object o) {}
  public void log(int s,Object o) {}
}