Create a native JavaScript method
public static native void alert() /*-{
$wnd.alert("AAA");
}-*/;
and try to change its name. IDEA will insert strange code in the comment:
public static native void alert1() /*-{function alert1 ( /*window*/$wnd,/*Document*/$doc) {
$wnd.alert("AAA");
}-*/;
Description
Create a native JavaScript method
public static native void alert() /*-{
$wnd.alert("AAA");
}-*/;
and try to change its name. IDEA will insert strange code in the comment:
public static native void alert1() /*-{function alert1 ( /*window*/$wnd,/*Document*/$doc) {
$wnd.alert("AAA");
}-*/;