void (final List<? extends PsiElement> psiElements, final String section, final int sectionPosition) { if (psiElements.isEmpty()) { return; } final Project project = psiElements.get(0).getProject(); Messages.showInputDialog(project, PropertiesBundle.message("rename.bundle.enter.new.resource.bundle.section.name.prompt.text"), PropertiesBundle.message("rename.resource.bundle.section.dialog.title"), Messages.getQuestionIcon(), section, new ResourceBundleKeySectionInputValidator(psiElements, section, sectionPosition, project)); }