@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    return ShOccurrencesHighlightingSuppressor.isOccurrencesHighlightingEnabled(editor, file)
           && ShRenameAllOccurrencesHandler.INSTANCE.isEnabled(editor, editor.getCaretModel().getPrimaryCaret(), null);
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)