[PRL] aspects to eliminate aspects

Robby Findler robby at cs.uchicago.edu
Wed May 18 13:11:10 EDT 2005


At Wed, 18 May 2005 12:36:56 -0400, Therapon Skotiniotis wrote:
> > >Question 2: If the answer is 'yes', is it possible to use the 
> > >information to modify the program syntactically (via reflection, for 
> > >example) so that aspects can no longer mess with the class?
> > 
>   You cannot make that kind of alteration using AspectJ alone. There is no 
>   way to alter the chained advice on a method (as far as I know, although 
>   if you can get to the closure argument between advice that could give you 
>   close to a full MOP using aspects ... hmm interesting I might just try 
>   that next). 

Can't you just avoid calling proceed in the advice that advises other
advice?

Robby



More information about the PRL mailing list