@NotNull
  @Override
  protected TextRange getRangeToRename(@NotNull PsiElement element) {
    TextRange range = getIdentifierNameRange(element);
    return range != null ? range : super.getRangeToRename(element);
  }
@NotNull
  @Override
  protected TextRange getRangeToRename(@NotNull PsiElement element)