Yes, no overloads in Java side as we don't automatically generate dispatch.
Either you need to rename or you can create a send(Object) and dispatch
manually to other methods.

On Fri, Oct 23, 2015 at 1:57 AM, Jens <jens.nehlme...@gmail.com> wrote:

> What about method overloading on Java side? Doesn't seem to be mentioned
> in the doc so I guess its not supported and we would need to rename methods
> on Java side? E.g.
>
> class Foo {
>   @JsMethod(name = "send")
>   public native void sendString(String s)
>
>   @JsMethod(name = "send")
>   public native void sendBlob(Blob b)
> }
>
>
> -- J.
>
> --
> 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/90a200f5-07b3-4beb-934f-d90dc1d7f33c%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/90a200f5-07b3-4beb-934f-d90dc1d7f33c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAN%3DyUA22_1qDx3w-%2BYMN2a2v5MufuNcHA4%3DL6%3DW-Avx5LQyJ8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to