RenameRefactoringDialog (@NotNull Project project, @NotNull PsiElement element, @Nullable PsiElement nameSuggestionContext, @Nullable Editor editor) { for (RenameRefactoringDialogProvider dialogProvider: RenameRefactoringDialogProvider.EP_NAME.getExtensionList()) { if (dialogProvider.isApplicable(this)) { return dialogProvider.createDialog(project, element, nameSuggestionContext, editor); } } return RefactoringUiService.getInstance().createRenameRefactoringDialog(project, element, nameSuggestionContext, editor); }