Currently, there isn't a way to perform a == using the bytecode API. On Tue, Sep 4, 2012 at 9:03 AM, Josh Canfield <joshcanfi...@gmail.com>wrote:
> Perhaps I don't understand what you mean by using plastic. Plastic doesn't > change how equality works. == is reference compare, use .equals if they are > objects. Are you trying to inject .equals into a transformed object? > > > On Mon, Sep 3, 2012 at 1:39 AM, Thim Anneessens <t.anneess...@ictjob.be>wrote: > >> Hi Josh, >> >> I am trying to generate byte-code that will test if 2 object references >> are equal using Plastic. >> >> Thanks. >> Thim. >> >> >> On 08/25/2012 05:13 PM, Josh Canfield wrote: >> >> Hi Thim. >> >> Your question doesn't make any sense. What are you trying to do at a higher >> level? >> >> Josh >> On Aug 24, 2012 2:03 PM, "Thim Anneessens" <thimw...@gmail.com> >> <thimw...@gmail.com> wrote: >> >> >> Hello, >> >> I am wondering how to achieve the following java code in plastic: >> >> Object a,b; >> if(a==b) >> // Do something >> else >> // Do something else >> >> Does anybody know how? >> >> Best regards, >> Thim. >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> >> <users-unsubscr...@tapestry.apache.org> >> >> >> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> >> -- >> * Thim Anneessens >> IT Department * >> >> [image: ictjob group] >> >> ictjob.be <http://www.ictjob.be> >> Tel: +32 2 725 73 00 >> Ikaroslaan, 2 >> B-1930 Zaventem ictjob.lu <http://www.ictjob.lu> >> Tel: +352 621 364 792 >> 12, rue Eugène Ruppert >> L-2453 Luxembourg jobtic.fr <http://www.jobtic.fr> >> Tel: +33 9 81 25 19 66 >> 19 rue Martel >> 75010 Paris ticjob.es <http://www.ticjob.es> >> Tel: +34 911 25 43 11 >> Calle Santo Tomé 4, 5B >> 28004 Madrid ictjob.de <http://www.ictjob.de> >> Tel: +49 711 91 41 07 32 >> Humboldtstr. 32 >> 70771 Leinfelden-Echterdingen >> > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com