How can I efficiently create static fields containing overlay type instance of particular JS object? Commonly for storing some predefined/ default instances. It's quite straightforward to initialize such a field using static getter calling static native method, but might be more friendly if GWT would provide native field, it's could be wrapped in JS function at compile time and executed the first time this field is accessed.
Any clues on how to implement such a feature?
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors
