The following turns out to be too slow: (and probably might be incorrect with certain compiler optimizations)
*after*(): methodUnderTestExecution() {
StackTraceElement stackTraceElement = Thread.*currentThread*
().getStackTrace()[2];
*int* returnLineNumber = stackTraceElement.getLineNumber();
…
Hagai
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
