@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface JsType
Furthermore, if the JsType is marked with a prototype reference, then concrete implementations of the class emitted by the GWT compiler will use the specified prototype as opposed the the ordinary one (e.g. java.lang.Object).
JsTypes act like JavaScriptObject in terms of castability, except when a prototype is specified, in which case, cast checks and instanceof checks will be delegated to the native JS instanceof operator.
public abstract String prototype
public abstract boolean isNative
Copyright © 2016. All rights reserved.