This is well-documented and looks like solid work. I think the main issue
will be whether it can be made compatible with modular compilation. So the
best timing will be to land it after modular compilation.

It looks like it should be compatible because the compiler doesn't need to
see how a @Rebind method is implemented in order to call the generator for
a call site? So we can run the generator in each module that calls a
@Rebind-marked interface method.

- Brian



On Thu, Nov 28, 2013 at 6:19 AM, Andrés Testi <[email protected]>wrote:

> The last 3 months I have been working on a GWT Improvement Proposal
> inspired by the idea of Ray Cromwell for Relaxing constraints on
> GWT.create()<http://timepedia.blogspot.com.ar/2009/03/relaxing-constraints-on-gwtcreate.html>.
>  I wrote a technical document and implemented it as a fork
> of GWT master at GitHub<https://github.com/andrestesti/gwt-rebindingmethods>
> .
> As a quick example of what is possible to do with Rebinding Methods, you
> can look at the hellorebinding 
> sample<https://github.com/andrestesti/gwt-rebindingmethods/blob/master/samples/hellorebinding/src/com/google/gwt/sample/hellorebinding/client/MainWidget.java#L39>
> :
>
>  public MainWidget() {
>     /*
>      * No boilerplate required to bind user interfaces.
>      */
>     initWidget(UiBinders.createAndBindUi(Widget.class, MainWidget.class, 
> this));
>   }
>
>
> The working prototype is fully functional, and passed the same test suites
> than GWT master. DevMode works fine, and I think SuperDevMode should work
> too.
> Please, feel free to add feedback in the document and/or GitHub. I
> apologize for my possible grammatical errors, since I'm not english native
> speaker.
>
> Links of interest:
> - Ray Cromwell's blog post:
> http://timepedia.blogspot.com.ar/2009/03/relaxing-constraints-on-gwtcreate.html
> - Rebinding Methods proposal:
> https://docs.google.com/document/d/1K25f6-Hxtlj31pthapfUhmNxS1OPiUXZFtHDnHGjrpg
> - Working prototype: https://github.com/andrestesti/gwt-rebindingmethods
>
> Thanks in advance.
>
> - Andrés Testi
>
>
>  --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
> ---
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to