Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Programmatic access to classes that were "aspected"

Hello all,

I'm currently working on an application that takes POJO's and allows them to work in a distributed simulation environment. I'm using AspectJ to intercept certain events (such as field modifications) and send that information out to the other simulation components. My question is this:

Is there any way to gain programmatic access to the names of those classes that have been the subject of weaving via the ajc tool?

I've created a wrapper "compiler" class that generates a command line invokes the main method of "org.aspectj.tools.ajc.Main". Following this, I'd like to get a list of all those classes that ajc modified and then do some post-processing on them (I use reflection to generate some other simulation-specific build artefacts.

I'm sure this is possible, but thus far the AspectJ codebase has overwhelmed me somewhat and I'm on a tight deadline :(

Thanks for any help anyone can provide!
Cheers,
Tim Pokorny


Back to the top