Package jsinterop.annotations
Annotation Type JsNullable
-
@Retention(RUNTIME) @Target(TYPE_USE) @Documented public @interface JsNullable
JsNullable marks a type variable as nullable indicating that program elements of such a type can hold anull
value.Note that JsNullable can only be used on type variables in the context of a JsConstructor, a JsMethod, a JsProperty or a JsFunction method.
This annotation is informational in the GWT compiler but other compilers or tools might use it for example to annotate types in the output JavaScript program.