aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/lazyTjpXLintWarning/LazyTjpTest4.java
blob: 148a2f556886fff7b37fa84d45c93d618b90f9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class LazyTjpTest4 {

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

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

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

}