On 2011/11/29 15:23:20, stephenh wrote:
> I'm afraid that won't work as expected if ownerField actually is a
"getter"
> (getterCount > 1).
I like your suggested change, but can you elaborate on this? I thought getterCount only affected whether the Widgets class gets a field,
You're right. I misinterpreted the snippet shown here on Rietveld, without looking deeper in the code.
and that for provided=true purposes, the ownerField really is always a field.
Except at design-time actually (see UiBinderWriter#writeGwtFields); which makes me wonder: should "&& !designTime.isDesignTime()" be added to the test? Otherwise LGTM. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors