org.aspectj/tests/bugs/binaryCompat/TraceWithInnerV1.aj
aclement 775d1175b7 Fix for Bugzilla Bug 50641
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*
2004-02-09 15:07:37 +00:00

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");
}
}