Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Misunderstanding : execution pointcut with thisJoinPointStaticPart and thisEnclosingJoinPointStaticPart

This is the expected behavior. For an execution join point, there is no lexical enclosing join point, hence it is the same as thisJoinPointStaticPart.

-Ramnivas

On Tue, Jul 21, 2009 at 1:11 AM, <jeanlouis.pasturel@xxxxxxxxxxxxxxxxxx> wrote:

I misunderstand the returns of ( I construct a StringBuffer)  :

 

append(thisJoinPointStaticPart.getSignature().getDeclaringTypeName()).append(".").append(thisJoinPointStaticPart.getSignature().getName())

and

append(thisEnclosingJoinPointStaticPart.getSignature().getDeclaringTypeName()).append(".").append(thisEnclosingJoinPointStaticPart.getSignature().getName())

 

that are the same with and execution pointcut ( a call pointcut gives the parent of the called method).

 

Is it normal ? or thisEnclosingJoinPointStaticPart has no effect with an execution pointcut?

 

Cordialement / Best regards

 

Jean-Louis Pasturel
jeanlouis.pasturel@xxxxxxxxxxxx

 

 

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top