mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-17 02:10:44 +02:00
14 lines
189 B
Java
14 lines
189 B
Java
aspect R pertypewithin(P) {
|
|
|
|
int ctr = 0;
|
|
|
|
after(): execution(* runB(..)) {
|
|
ctr=ctr+1;
|
|
}
|
|
|
|
after(): execution(* main(..)) {
|
|
System.err.println("R reporting "+ctr);
|
|
}
|
|
|
|
}
|