@Override
  @RequiresEdt
  public void hideForEditor(@NotNull Editor editor) {
    IntentionHintComponent hint = myLastIntentionHint;
    if (hint != null && hint.hideIfDisplayedForEditor(editor)) {
      myLastIntentionHint = null;
    }
  }
@Override
  @RequiresEdt
  public void hideForEditor(@NotNull Editor editor)