Call the function after exporting to JavaScript
via JSNI
that is more precise and accurate.
public static native void exportStaticMethod() /*-{
$wnd.computeLoanInterest = $entry(@com.myapp.appname.client.MyUtility::computeLoanInterest(IFI));
$wnd.mainl();
}-*/;