@Override
  public boolean isToSearchForTextOccurrences(@NotNull final PsiElement element) {
    return JavaRefactoringSettings.getInstance().RENAME_SEARCH_FOR_TEXT_FOR_CLASS;
  }
@Override
  public boolean isToSearchForTextOccurrences(@NotNull final PsiElement element)