HighlightInfo (@NotNull PsiErrorElement element) { HighlightInfo.Builder builder = createErrorElementInfoWithoutFixes(element); List<ErrorQuickFixProvider> providers = DumbService.getInstance(element.getProject()).filterByDumbAwareness(ErrorQuickFixProvider.EP_NAME.getExtensionList()); for (ErrorQuickFixProvider provider : providers) { provider.registerErrorQuickFix(element, builder); } HighlightInfo info = builder.create(); if (info != null) { info.toolId = DefaultHighlightVisitor.class; for (ErrorQuickFixProvider provider : providers) { provider.registerErrorQuickFix(element, info); } } return info; }