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

  int ctr = 0;

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

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