jsinterop-annotations
jsinterop-annotations copied to clipboard
JsInterop java annotations for J2CL and GWT
Does not attempt to address native support - like enums, if this is to be supported, it will likely require its own annotation and semantics. Fixes #6
https://openjdk.java.net/jeps/395 added Records to Java 16 as a finalized feature. In the course of implementing this for GWT 2, we've observed that it might make sense to slightly modify `@JsProperty`...
According to the documentation we should use version 1.0.2 in combination with GWT 2.10.0, but this gave me a lot of errors about @JsNonNull not being found. I switched to...
I'm new to j2cl and Bazel FWIW. I was missing the annotations dep and got this error: ``` error: [strict] Using type jsinterop.annotations.JsType from an indirect dependency (TOOL_INFO: "@com_google_jsinterop_annotations-j2cl//java/jsinterop/annotations"). See...
In GWT2 with JavaScriptObject it was possible to have exactly one subclass implement an interface - the compiler would detect this and where necessary devirtualize the calls and dispatch correctly...