Re: Re: Re: Re: Re: Re: Re: Re: Re: Release of ASM4

Jess Holle <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 8/5/2011 12:22 PM, Rémi Forax wrote:
> On 08/05/2011 05:41 PM, Jess Holle wrote:
>> I guess I've not tried to move my code to ASM4 yet, but I would have 
>> assumed that if I'm doing limited transformations whereby I pass most 
>> constants, etc, through, that my visitor/adapter wouldn't have to 
>> change at all.
>>
>> [I'm essentially just doing "around" advice like AspectJ, but without 
>> the overhead, etc, of AspectJ.]
>
> BTW, you could implement "around" advice without generating any bytecode
> using invokedynamic and MethodHandles.foldArguments().
>
> see 
> http://code.google.com/p/jsr292-cookbook/source/browse/trunk/interceptors/src/jsr292/cookbook/interceptors/Interceptors.java
Hmmmm.....  I'll have to check that out -- when I can rely on Java 7.

I'd still need ASM to intercept the call, though, right?

--
Jess Holle
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.