Re: [abc-users] Obtaining SootMethods from PerSetupAdvice

From: Eric Bodden <eric.bodden_at_mail.mcgill.ca>
Date: Tue, 13 May 2008 09:34:09 -0400

Or another way you could look at it is that the advice body will
always be called "abc$perThisBind', as this is the method for which a
call is being inserted at the shadow.

Eric

2008/5/13 Eric Bodden <eric.bodden_at_mail.mcgill.ca>:
> Hi Nathan.
>
> Looking at the code I believe that the reason for not providing this
> method is that there is no method being generated for PerThisSetup. If
> I am not mistaken, all the functionality is implemented within
> makeAdviceExecutionStmts, which just adds a bunch of statements to the
> shadow (and no method call to an advice body).
>
> Eric
>
> 2008/5/13 Nathan Weston <npweston_at_gmail.com>:
>
>
> > Hello all,
> >
> > Is it possible to obtain the SootMethod implementation of a PerSetupAdvice,
> > especially a PerThisSetup? I mean in a similar method to
> > getImpl().getSootMethod() for an AdviceDecl.
> >
> > Thanks for any help!
> > Nathan
> >
> >
>
>
>
> --
> Eric Bodden
> Sable Research Group
> McGill University, Montréal, Canada
>

-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
Or
Received on Tue May 13 2008 - 14:34:13 BST

This archive was generated by hypermail 2.2.0 : Wed May 14 2008 - 10:40:11 BST