No, that is correct, but the actual process is that the method from
the role is composed into the class, then the around wraps it.
So no need to turn off the warning as it would not actually happen.
- Stevan
On Apr 14, 2009, at 2:47 PM, Hans Dieter Pearcey wrote:
On Tue, Apr 14, 2009 at 02:41:44PM -0400, Stevan Little wrote:
around() (without calling the next method) would also work.
That won't be detectable at composition time though.
Well, if you didn't have the method, it would fail at around() time,
so it
would "work" in the sense that it would let you explicitly override
a method
from a role.
Am I missing something?
hdp.