Re: [aspectwerkz-user] non recursive proceed
Jonas Bonér <[email protected]> Mon, 6 Feb 2006 08:51:11 -0800
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
On 2/4/06, Michael Nascimento <[email protected]> wrote: > On 2/3/06, Jonas Bonér <[email protected]> wrote: > > I do not see any other way since the whole call stack is statically compiled > > Well, it used to be possible on AW 1.x, since it was possible to > obtain a reference to the original method from the JoinPoint instance. > This change actually stopped genesis from migrating to 2.0 for a > while. > > What we did was to use Jonas' suggested boolean approach to work > around this. However, I really do think AW should provide this hook > again, especially now that another user faces the same problem ;-) Hehe, sorry about that. If you or someone else write the code snip that compiles the code that retrieves this method, I would be happy to add it to the main sources. Basically: * add a method to the MethodSignature interface: getAdvisedMethod() * write ASM code snip that compiles the impl for the method. Should not be hard. If you are interested, let me know and I will give you some pointers. /Jonas > > Regards, > Michael Nascimento Santos > https://genesis.dev.java.net/ > https://thinnb.dev.java.net/ > -- Jonas Bonér Terracotta, Inc. http://jonasboner.com http://www.terracottatech.com