mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
![aclement](/assets/img/avatar_default.png)
Better binary compatibility for advice method names - I've run the tests a thousand times and they all pass, I'm still nervous about this first big commit though *gulp*
24 lines
555 B
Plaintext
24 lines
555 B
Plaintext
aspect Trace {
|
|
public static boolean expectNoSuchMethodError = false;
|
|
|
|
before(): execution(void doit(..)) {
|
|
System.out.println("enter");
|
|
}
|
|
|
|
static aspect InnerTrace {
|
|
before(): execution(void doit(..)) {
|
|
System.out.println("Inner enter");
|
|
}
|
|
|
|
after() returning: execution(void doit(..)) {
|
|
System.out.println("Inner exit");
|
|
}
|
|
|
|
after() throwing: execution(void doit(..)) {
|
|
System.out.println("Inner after throwing");
|
|
}
|
|
}
|
|
after() returning: execution(void doit(..)) {
|
|
System.out.println("exit");
|
|
}
|
|
} |