@Override
  @Nullable
  public Pair<String, String> getTextOccurrenceSearchStrings(@NotNull final PsiElement element, @NotNull final String newName) {
    if (element instanceof PsiClass aClass && aClass.getParent() instanceof PsiClass) {
      final String dollaredStringToSearch = ClassUtil.getJVMClassName(aClass);
      final String dollaredStringToReplace =
        dollaredStringToSearch == null ? null : RefactoringUtil.getNewInnerClassName(aClass, dollaredStringToSearch, newName);
      if (dollaredStringToReplace != null) {
        return Pair.create(dollaredStringToSearch, dollaredStringToReplace);
      }
    }
    return null;
  }
@Override
  @Nullable
  public Pair<String, String> getTextOccurrenceSearchStrings(@NotNull final PsiElement element, @NotNull final String newName)