We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5611797 commit c4f295fCopy full SHA for c4f295f
src/de/inetsoftware/jwebassembly/api/annotation/Import.java
@@ -31,18 +31,18 @@
31
public @interface Import {
32
33
/**
34
- * the module/object name of the import.
+ * The module/object name of the import. If not set then the simple class name is used.
35
*
36
* @return the module name
37
*/
38
- String module();
+ String module() default "";
39
40
41
- * The function name in the scope of the module.
+ * The function name in the scope of the module. If not set then the method name is used.
42
43
* @return the name
44
45
- String name();
+ String name() default "";
46
47
48
* The JavaScript replacement. If empty then there must be a same naming object in JavaScript.
0 commit comments