@Override
    public void invokeWithCompletions(AceCompletion[] proposals) {
        JsArray<JavaScriptObject> jsProposals = JavaScriptObject.createArray().cast();
        for (AceCompletion proposal : proposals) {
            jsProposals.push(proposal.toJsObject());
        }
        doInvokeWithCompletions(jsProposals);
    }
Implementation of {@link AceCompletionCallback}
that delegates to a native JavaScript Ace code completion
callback.
stroom-core-client-widget/src/main/java/edu/ycp/cs/dh/acegwt/client/ace/AceCompletionCallbackImpl.java