Groups
Groups
Sign in
Groups
Groups
gwtexporter
Conversations
About
Send feedback
Help
Enum support?
36 views
Skip to first unread message
Y Bayk
unread,
Mar 21, 2013, 4:13:56 PM
3/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwtex...@googlegroups.com
Are enums supported?
Would be nice if enums are mapped to Strings (similarly to how interfaces are mapped to js functions via @ExportClosure):
Java:
void foo(MyEnum myEnum);
MyEnum bar();
JS:
void foo(String myEnum);
String bar();
Also ideally, each exported Enum needs to be auto-documented with a set of its available values (perhaps in a method documentation)
Reply all
Reply to author
Forward
0 new messages