aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/lazyTjpXLintWarning/LazyTjpTest5.java
blob: caa86a83d50ad505e1493a3af846c110087c7485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class LazyTjpTest5 {

  public void test1 () { }
  
  private static aspect Aspect1 {

    private static boolean enabled = true;
    
    after () : if(enabled) && execution(public void LazyTjpTest5.test1()) {
      System.out.println(thisJoinPoint);
    }

    before() : execution(public void LazyTjpTest5.test1()) {
      System.out.println(thisJoinPoint);
    }

    void around() : execution(public void LazyTjpTest5.test1()) {
      System.out.println(thisJoinPoint);
    }
  }

}