mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
16 lines
258 B
Java
16 lines
258 B
Java
package test;
|
|
|
|
import org.aspectj.testing.*;
|
|
|
|
aspect Trace pertarget(target(test.Test)) {
|
|
|
|
pointcut runs(): call(void run());
|
|
|
|
before(): runs() {
|
|
Tester.event("before");
|
|
}
|
|
after(): runs() {
|
|
Tester.event("after");
|
|
}
|
|
}
|