| [aspectj-users] Misunderstanding : execution pointcut with thisJoinPointStaticPart and thisEnclosingJoinPointStaticPart |
|
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
|