public void showHint(String content, boolean removeExisting, int scriptEndOffset) {
        if (!tryLock()) {
            return;
        }
        this.currentState = RenderState.SHOWING;
        UIUtils.asyncExec(() -> {
            if (removeExisting) {
                executeRemove();
            }
            executeShow(content, scriptEndOffset);
        });
    }
Displays a hint with the given content. Optionally removes any existing hint before displaying the new one.

@param content        the content of the hint to be displayed
@param removeExisting if true, removes any currently displayed hint before showing the new one
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/suggestion/SQLSuggestionTextPainter.java