List<HighlightInfo> (Project project, Editor editor) { List<HighlightInfo> infos = RehighlightAllEditors.highlightEditor(editor, project); return ContainerUtil.filter(infos, i -> i.getSeverity() == HighlightSeverity.ERROR); }