Skip to content

Commit cc29a33

Browse files
authored
Remove jsinterop-annotations Javadoc from site (#343)
Future javadoc should be removed before being replaced to avoid this, or actually unpack the gwt artifact to extract javadoc. Fixes #337
1 parent 86d211a commit cc29a33

30 files changed

+1
-4752
lines changed

src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ JsInterop is one of the core features of GWT 2.8. As the name suggests, JsIntero
66

77
## Exporting a Java type to JavaScript
88

9-
JsInterop can be used to expose a Java type to be used externally from a JavaScript script (aka a non-native type). This can be achieved by annotating the type with `@JsType`. This annotation exposes all the public non-static fields and methods, and tells the GWT compiler that the type is to be exported to a JavaScript type. Annotating a class with `@JsType` is equivalent to annotating all its public non-static methods with `@JsMethod`, its constructor with `@JsConstructor` (only one `@JsConstructor` is allowed to exist, more details can be found [in the javadoc](http://www.gwtproject.org/javadoc/latest/jsinterop/annotations/JsConstructor.html)), and all its public non-static fields with `@JsProperty`, so no need to add them explicitly.
9+
JsInterop can be used to expose a Java type to be used externally from a JavaScript script (aka a non-native type). This can be achieved by annotating the type with `@JsType`. This annotation exposes all the public non-static fields and methods, and tells the GWT compiler that the type is to be exported to a JavaScript type. Annotating a class with `@JsType` is equivalent to annotating all its public non-static methods with `@JsMethod`, its constructor with `@JsConstructor` (only one `@JsConstructor` is allowed to exist, more details can be found [in the javadoc](https://javadoc.io/doc/com.google.jsinterop/jsinterop-annotations/latest/index.html)), and all its public non-static fields with `@JsProperty`, so no need to add them explicitly.
1010

1111
Additionally, `@JsType` can be fine-tuned using the following properties:
1212

src/main/site/javadoc/latest/jsinterop/annotations/JsAsync.html

Lines changed: 0 additions & 176 deletions
This file was deleted.

src/main/site/javadoc/latest/jsinterop/annotations/JsConstructor.html

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)