18.4. Configuration properties

You saw in chapter 17 that deferred-binding properties have a set of values that are enumerable (for example, a set of browser agents or a set of locales), which can drive the generation of permutations of JavaScript code.

What if you want to turn on or off some generator functionality during compile, much like the inlining of client bundles discussed previously? If you use a deferred-binding property, then you’ll double the number of permutations created—one set of permutations when the property is off and one for when it’s on. This probably isn’t what you wanted. Or what if you need to pass the generator a particular filename not included as an annotation? That’s not possible using deferred-binding properties. ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.