Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] How to do foreach(Class x where ...) in

Hi Eric,

Thanks for the helpful advice about using a
staticinitialization joinpoint. It should work.

In the future, it would be nice if AspectJ would
introduce a simple way to iterate over classes that
satisfy some condition/annotation without having to
change those classes by injecting code.- That would
have less overhead (no list, no extra initialization
code), less intrusive (no need to have aspectj
"modify" what I am iterating over) and easier/safer
(no risk of problems concerning initialization order
by the classloader).

Thanks for the help,

Cheers,
Morten


Back to the top