[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Modifying the parameters of methodswith arbitrarysignatures
|
It's funny, that's more or less the solution my compatriot and I
discussed, and we might just go with that.
Thanks for all the help.
On 31-Oct-07, at 5:17 PM, Ron Bodkin wrote:
To modify the arguments, you could use a case study: write a version
for 1,
2, ..., n arguments along with using a declare error statement to flag
methods that had too many arguments for the finite number that you
enumerated.
It's not elegant but in 20 lines of code you can probably handle any
practical case.
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Chris Rose
Sent: Wednesday, October 31, 2007 3:36 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Modifying the parameters of methodswith
arbitrarysignatures
Okay, that's more or less what I thought.
Just as an aside, how safe is it to permit the modification of parts
of
the arguments that are not mutable? Suppose I want to change the
properties of some parameter in getArgs(), is that okay?
Eric Bodden wrote:
On 31/10/2007, Chris Rose <chris.rose@xxxxxxxxxxxxxxxxxxx> wrote:
That works for the purposes of getting them, but I need to feed them
back into the proceed call, don't I?
Hi Chris. AFAIK there is no way to do this in AspectJ. (it would be
very hard to get this working within the compiler)
Eric
--
Chris Rose
Developer Planet Consulting Group
(780) 577-8433
crose@xxxxxxxxxxxx
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users