void (@NotNull Project project, @NotNull String value) { final UnscrambleDialog dialog = new UnscrambleDialog(project); dialog.createNormalizeTextAction().actionPerformed(null); if (!DumbService.isDumb(project)) { dialog.doOKAction(); } }