[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Local vars and recursion
|
Hi Eric:
"...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
similar refactoring?
Thanks a lot and I apologize for any inconvenient with grammar.
Uli.
-----Original Message-----
From: eric.bodden@xxxxxxxxxxxxxx
To: aspectj-users@xxxxxxxxxxx
Sent: Thu, 14 Sep 2006 10:20 PM
Subject: 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.
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.