I've been having problems weaving this project correctly with AspectJ (ajc). Here's the situation :
I'm using a benchmarking library called DaCapo Benchmarks, and in it I'm trying to intercept all calls to Iterator.HasNext() and Next() [academic research]. This seems to be working in a vacuum, however DaCapo works in a way such that it's own jar contains other jars which it extracts according to which benchmark I want to run along with it's dependencies and runs it.
I want to intercept all HasNext()s and Next()s with the same aspect so my total is tracked across all the jar files instead of in each individual one.
I hope I'm coming across as clear enough. I'm fully available to answer any questions you might have in order to be able to help me through this weird problem.
P.S. I have the weird feeling it's not actually doable, but a test in eclipse with AJDT (I'm using raw aspectj with ajc for the DaCapo Benchmarks weaving) hints at the possibility.