Maybe jsinterop.base library has some utility methods for cross casting.
Otherwise your options probably are (all untested):
2.) If you want it to be more generic and super unsafe you can probably also write something like:
This should allow you to reinterpret any java type without any cast checking by GWT.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.