void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { Document document = getDocument(descriptor.getPsiElement()); if (document != null) { doApplyFix(project, document, descriptor); } }