Re: EmptyVisitor replacement in asm 4.0

Eric Bruneton <[email protected]> Sun, 18 Dec 2011 11:46:30 +0100
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
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 
(look at the end of the file).

Eric
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