void (@NotNull Object action) { Application app = ApplicationManager.getApplication(); CommandProcessor processor = app == null ? null : app.getServiceIfCreated(CommandProcessor.class); if (processor != null && processor.getCurrentCommandProject() == myProject) { decrementPostponedCounter(); } }