Goktug Gokdogan has posted comments on this change.

Change subject: Add hasClassName method in com.google.gwt.dom.client.Element
......................................................................


Patch Set 6:

Unfortunately JSO's doesn't give us much choice on API management so that make our job harder and also brings the risk to whoever extends it. That is the reason I am checking if you have other options.

And yes GWT compiler can do pretty amazing stuff when it comes to de-virtualization, you should give it a try; I would not be surprised if it can get rid of the middle class.

Also one other option with JSO's is, you can create your own namespace for the methods with a cast.

e.g.: (sorry for made up class names)

  class GxtElement extends Element {
     GxtExtensions gxt() { return (GxtExtensions) cast(); }
  }

  class GxtExtensions {
    void methodX();
    void methodY();
  }

--
To view, visit https://gwt-review.googlesource.com/3070
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia09567b8c58cac02f8126c33ef169b26def3d19c
Gerrit-PatchSet: 6
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Andrey Korzhevskiy <[email protected]>
Gerrit-Reviewer: Colin Alworth <[email protected]>
Gerrit-Reviewer: Daniel Kurka <[email protected]>
Gerrit-Reviewer: Goktug Gokdogan <[email protected]>
Gerrit-Reviewer: Stephen Haberman <[email protected]>
Gerrit-Reviewer: Thomas Broyer <[email protected]>
Gerrit-HasComments: No

--
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