aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr398246/Code5a.java
blob: 0f5562640b002cfc60753530036b059629ff4216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import java.lang.annotation.*;

public class Code5a {
  public static boolean isTrue = true;

  public void m() {
  }
  public static void main(String []argv) {
    new Code5a().m();
  }
}


// more white space, on purpose



aspect X2 {


  pointcut p(): execution(* Code*.*(..)) && if(Code5.isTrue);
  before(): p() {
    System.out.println("advice");
  }
}