@Override
    public @Nls String formatDescription(int occurrencesCount) {
      return switch (this) {
        case NO -> RefactoringBundle.message("replace.this.occurrence.only");
        case NO_WRITE -> RefactoringBundle.message("replace.all.occurrences.but.write");
        case ALL -> RefactoringBundle.message("replace.all.occurrences", occurrencesCount);
        default -> throw new IllegalStateException("Unexpected value: " + this);
      };
    }
@Override
    public @Nls String formatDescription(int occurrencesCount)