void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { PsiElement element = descriptor.getPsiElement(); PsiElement target = getTarget(element); if (target == null) return; suppress(element.getContainingFile(), target); }