[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] How to advise inherited methods without write access to base class (aka add overrides)?
- From: Eike Stepper <stepper@xxxxxxxxxxxx>
- Date: Fri, 05 Oct 2007 06:54:37 +0200
- Delivered-to: email@example.com
- User-agent: Thunderbird 18.104.22.168 (Windows/20070728)
I need to advise all methods of a tree of classes.
All the classes inherit from java.util.AbstractList
which I can't access with the AspectJ compiler.
It seems that a method must be directly declared in
one of the classes that the weaver may change in order
to receive my advice. Is it not possible to inject
override methods into the accessible classes that can
then be advised?