void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { PsiFile psiFile = descriptor.getPsiElement().getContainingFile(); try { action.invoke(project, new LazyEditor(psiFile), psiFile); } catch (IncorrectOperationException e) { LOG.error(e); } }