Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] @Around advice and JoinPoint.EnclosingStaticPart

Hi,

> My understanding is EnclosingStaticPart and ProceedingJoinPoint map to the caller and callee respectively.

For a call pointcut this would be true, but not for an execution pointcut. Enclosing currently means lexically enclosing, not dynamically - so for a call pointcut it is the call joinpoint and then the joinpoint within which the call is being made.

Andy

On 15 December 2012 00:52, Nick Keltke <nick.keltke@xxxxxxxxx> wrote:
My understanding is EnclosingStaticPart and
ProceedingJoinPoint map to the caller and callee respectively.


Back to the top