Re: Re: EmptyVisitor replacement in asm 4.0

Prashant Deva <[email protected]> Sun, 18 Dec 2011 04:14:59 -0800
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CAEg0NFZu=OYbzKTNJ9pZhJhLBr0gG38XSgm1KpRXYkuVN57Qgg@mail.gmail.com>
Interesting.
Curious why this implementation was not made part of the 4.0 library as a
drop in replacement for those already using emptyvisitor?

Prashant


On Sun, Dec 18, 2011 at 2:46 AM, Eric Bruneton <[email protected]> wrote:

> 18/12/2011 08:24, Prashant Deva wrote:
>
>> So now that asm 4.0 doesnt contain an 'empty visitor', whats the best
>> way to implement this.
>> Do I need to create custom subclasses each for each of the previous
>> visitor 'interfaces' that empty visitor used to use and plug them
>> together?
>>
>> If so, wouldnt it have been to provide a readymade 'empty <x> visitor'
>> which had all that done, so users of emptyvisitor could upgrade easily
>>
>
> you can use something like this, and adapt it to your needs:
> http://websvn.ow2.org/**filedetails.php?repname=asm&**
> path=%2Ftrunk%2Fasm%2Ftest%**2Fperf%2Forg%2Fobjectweb%**
> 2Fasm%2FALLPerfTest.java<http://websvn.ow2.org/filedetails.php?repname=asm&path=%2Ftrunk%2Fasm%2Ftest%2Fperf%2Forg%2Fobjectweb%2Fasm%2FALLPerfTest.java>(look at the end of the file).
>
> Eric
>
>
> --
> 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
>
>
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