Buggy code:
@ STJSBridge @ GlobalScope public final class RequireJSGlobal { private RequireJSGlobal ( ) { } public static final RequireJSNamespace require = new RequireJSNamespace ( ) ; public static native void define ( Function0 < ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function < ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function0 < ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function1 < ? , ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function2 < ? , ? , ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function3 < ? , ? , ? , ? > moduleConstructor ) { } public static native void define ( Array < String > dependencies , Function4 < ? , ? , ? , ? , ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function < ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function0 < ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function1 < ? , ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function2 < ? , ? , ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function3 < ? , ? , ? , ? > moduleConstructor ) { } public static native void define ( String moduleName , Array < String > dependencies , Function4 < ? , ? , ? , ? , ? > moduleConstructor ) { } <START_BUG> public static native void require ( Callback0 moduleConstructor ) ; <END_BUG> public static native void require ( Array < String > dependencies , Callback onSuccess ) { } public static native void require ( Array < String > dependencies , Callback0 onSuccess ) { } public static native void require ( Array < String > dependencies , Callback1 < ? > onSuccess ) { } public static native void require ( Array < String > dependencies , Callback2 < ? , ? > onSuccess ) { } public static native void require ( Array < String > dependencies , Callback3 < ? , ? , ? > onSuccess ) { } public static native void require ( Array < String > dependencies , Callback4 < ? , ? , ? , ? > onSuccess ) { } public static native void require ( Array < String > dependencies , Callback onSuccess , Callback1 < RequireJSError > onError ) { } public static native void require ( Array < String > dependencies , Callback0 onSuccess , Callback1 < RequireJSError > onError ) { } public static native void require ( Array < String > dependencies , Callback1 < ? > onSuccess , Callback1 < RequireJSError > onError ) { } public static native void require ( Array < String > dependencies , Callback2 < ? , ? > onSuccess , Callback1 < RequireJSError > onError ) { } public static native void require ( Array < String > dependencies , Callback3 < ? , ? , ? > onSuccess , Callback1 < RequireJSError > onError ) { } public static native void require ( Array < String > dependencies , Callback4 < ? , ? , ? , ? > onSuccess , Callback1 < RequireJSError > onError ) { } }

Fix:
public static native void require ( String moduleName ) ;