The GWT JSNI (JavaScript Native Interface)) allows for pretty extensive integration between JavaScript and your GWT Java code. However, concrete details for how to declare the argument data types in the method signatures are pretty lacking. Luckily, it’s possible to reference the original JNI documentation on which it was based.
Or, if you are too lazy to click on through and scroll, basically here is the gist of it: