Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Aspects and overridden methods

Hello,

apel@xxxxxxxxxxxxxxxxxxxxxxx ha scritto:

aspect ParentAspect
{
   pointcut to_foo() : execution(void Parent.foo());

	after() : to_foo()
	{
   	System.out.println("after calling: " + thisJoinPoint.getSignature());
	}
}

try this pointcut:

pointcut to_foo() : execution(void (Parent && !Parent+).foo());


i can't try it myself, but may give you a clue.

valerio





Back to the top