private static void hideAndDisableFloatingToolbar(@NotNull Editor editor, @NotNull JBPopup popup){
    CodeFloatingToolbar floatingToolbar = CodeFloatingToolbar.getToolbar(editor);
    if (floatingToolbar == null) return;
    floatingToolbar.hideOnPopupConflict(popup);
  }
private static void hideAndDisableFloatingToolbar(@NotNull Editor editor, @NotNull JBPopup popup)