mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
11 lines
288 B
Plaintext
11 lines
288 B
Plaintext
aspect Trace {
|
|
public static boolean expectNoSuchMethodError = true;
|
|
|
|
before(): execution(void main(..)) { // expect an error for incompatible binary change
|
|
System.out.println("enter");
|
|
}
|
|
|
|
after() returning: execution(void doit(..)) {
|
|
System.out.println("exit");
|
|
}
|
|
} |