void (@NotNull Project project, @NotNull final BaseRefactoringProcessor processor) { CommandProcessor.getInstance().executeCommand(project, () -> ApplicationManager.getApplication().runWriteAction(processor), null, null); }