Re: [gwt-contrib] get the obfuscated name of a class method in code?

2016-04-26 Thread 'Roberto Lublinerman' via GWT Contributors
You could use Impl.getNameOf() (look
at gwt/user/test/com/google/gwt/junit/client/GWTTestCaseStackTraceTest.java
for an example of usage). Note that using this feature will disable some
optimizations on the target function.

That being said, this is an internal functionality and could
change/disappear at any time (I doubt it will still be there in the next
major release). Use at your own risk.

Alternatively you could write some JS (JSNI or otherwise) and use the name
property on the function.

On Tue, Apr 26, 2016 at 7:19 AM, Paul Stockley  wrote:

> Is it possible to get the obfuscated name of a class method in code?
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/8e1afe41-81b8-43d2-a17e-68c94a75514d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gnDn4rGneKbmdGFfZnFSH%3Df0omDfBex8XvEZGMV5%3D5dMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] get the obfuscated name of a class method in code?

2016-04-26 Thread Paul Stockley
Is it possible to get the obfuscated name of a class method in code? 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/8e1afe41-81b8-43d2-a17e-68c94a75514d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.