Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Local vars and recursion

Hi.

 

Well, you would have to use a stack in that case, in order to emulate the runtime stack. But this really defeats the purpose of using AOP in the first place I would say. Regarding your last question: I don’t understand what you mean.

 

Eric

 

From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of ujuarez71@xxxxxxxxxxxx
Sent: Thursday, September 14, 2006 7:12 PM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] Local vars and recursion

 

 Hi,

AspecJ doesn't support local vars pointcuts, instead a way to do it is refactoring local vars to fields. What happens with recursive programs wich contain local vars? Not always refactoring works. Any suggestion?

Also, if args pcd matches local vars, how can I apply a pointcut when they are setting or getting?

Cheers
Uli.


Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.


Back to the top