Yes; it's a one-way mapping. JSNI syntax exists precisely to mangle those identifiers properly. JSNI isn't stuffed verbatim into the end result; it is analysed, and each JSNI signature is replaced with its mangled name. You can't unmangle the name, because the unmangled version isn't stored anywhere in the resulting JS file (it would take up far too much space to do this).
On Dec 30, 10:27 pm, Richard Kennard <[email protected]> wrote: > Reinier, > > Thanks for your quick response. > > I'm a bit confused, though. If... > > > GWT compresses the java identifier of any method or field down to a very > > short random collection of symbols > > ...then how come I can still do... > > [email protected]::myMethod()(); > > ...and even... > > alert( obj[ '[email protected]::myMethod()' ] ); > > ...is there some kind of one-way mapping going on? > > Regards, > > Richard. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
