mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-24265 - IAE: SuppressManagerImpl.getElementToolSuppressedIn [cdr]
This commit is contained in:
@@ -538,6 +538,7 @@ public class LocalInspectionsPass extends ProgressableTextEditorHighlightingPass
|
||||
HighlightSeverity severity,
|
||||
ProblemDescriptor descriptor) {
|
||||
PsiElement psiElement = descriptor.getPsiElement();
|
||||
if (psiElement == null) return;
|
||||
if (InspectionManagerEx.inspectionResultSuppressed(psiElement, tool)) return;
|
||||
HighlightInfoType level = highlightTypeFromDescriptor(descriptor, severity);
|
||||
HighlightInfo info = createHighlightInfo(descriptor, tool, level, emptyActionRegistered);
|
||||
|
||||
Reference in New Issue
Block a user