public void showChooser(final Map<ReplaceChoice, List<T>> occurrencesMap, @NotNull Consumer<? super ReplaceChoice> callback) {
    showChooser(occurrencesMap, RefactoringBundle.message("replace.multiple.occurrences.found"), callback);
  }
public void showChooser(final Map<ReplaceChoice, List<T>> occurrencesMap, @NotNull Consumer<? super ReplaceChoice> callback)