[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Local vars and recursion
"...But this really defeats the purpose of using AOP..."
Is correct apply AOP to debugging areas to advice local vars? I'd like to know a little more about this.
About the last question, I mean: If args pcd matches method arguments
and these arguments are local vars implicitly, Can I identfy join
points (through the method) for that local vars using the same or
Thanks a lot and I apologize for any inconvenient with grammar.
Sent: Thu, 14 Sep 2006 10:20 PM
Subject: RE: [aspectj-users] Local vars and recursion
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.
aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On
Behalf Of ujuarez71@xxxxxxxxxxxx
Sent: Thursday, September 14, 2006 7:12 PM
Subject: [aspectj-users] Local vars and recursion
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?