SkipOverwriteChoice (@NotNull PsiDirectory targetDirectory, @NotNull @NlsSafe String fileName, @NlsContexts.Command String title, boolean includeAllCases) { String message = RefactoringBundle.message("dialog.message.file.already.exists.in.directory", fileName, targetDirectory.getVirtualFile().getPresentableUrl()); int selection = Messages.showDialog(targetDirectory.getProject(), message, title, getOptions(includeAllCases), 0, Messages.getQuestionIcon()); if (selection < 0) return SKIP; return values()[selection]; }