Handle generated method flags in a unified way (#15373)
Refactor existing functionality without functional changes to make it
easier to add support for the @BackgroundMessage annotation added in a
separate commit.
Change-Id: I27454ba44af4b7b3b7beccf29b12e22bf9f75a86
This commit adds support for @NoLayout and updates most framework
components to use the annotation where it makes sense
Change-Id: I99320a6aa6de717da5f2463dd8acfcd412165767
Generate type data for AbstractRendererConnector.decode (#13334)
The presentation type parameter is stored so that decode works
without implementers having to implement a getType method.
Change-Id: Ia2b9f977f2bf6ed006379cda5eeb61674dd92ee0
Generate type data for AbstractRendererConnector.createRenderer (#13334)
The declared return type of the most-derived getRenderer method is stored
to make the default createRenderer implementation work. This is identical
to the way AbstractComponentConnector getWidget and createWidget work.
Change-Id: I879e9e6739e366bd81773a1e65195336e0cdac6d
Box and unbox long values in state fields (#14176)
We actually want to pass around the primitive long values emulated by
GWT even though JavaScript code can't do anything with the values.
Skipping the unboxing caused long fields to always be 0 since that's how
JavaScript converts an object into a number.
This patch also makes the test assert that the expected state values are
received and updates those values to actually make sense in some
situations.
Change-Id: Id9c3696d699593bd9e59e249c5daf077873b85fc
The fix to #9379 broke the support for long type fields in state classes. This
patch bypasses the unboxing of long values and adds the @UnsafeNativeLong annotation
to the methods which may fetch and return (without modifying) long values.
SerializerTest is extended to test the different data types in States.
Change-Id: I29fd2c6af13cd9a0d29ecb1444ed9eb8a2b013e3
* Generate parameter types based on RPC interface instead of defining
interface
* Don't try to find parameter types for JavaScript RPC invocations
Change-Id: I0e61e74f57dd34665c8befe826aa2759aeb01b54
* ServerRpc encoding uses type data from the interface
* Beans encoded on the server use reflection based on declared type
* Remove row numbers to enable adding test without changing old indices
* Update test to send non-primitive map values
Change-Id: I0462b547cb7de252564b3569420b0b24cee4515f