aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/pertypewithin/Q.java
blob: 8a2fe8f0cc61b7b4c89a3c5a51d3a05f69275459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
aspect Q pertypewithin(P) {

  declare precedence: R,Q;

  int ctr = 0;

  after(): execution(* runA(..)) {
    ctr=ctr+1;
  }

  after(): execution(* main(..)) {
     System.err.println("Q reporting "+ctr);
  }
  
}