void (@NotNull List<? extends HighlightInfo> highlights) { MarkupModelEx markupModel = (MarkupModelEx)DocumentMarkupModel.forDocument(myDocument, myProject, true); // use the method which doesn't retrieve a HighlightingSession from the indicator, because we likely destroyed the one already BackgroundUpdateHighlightersUtil.setHighlightersInRange(myRestrictRange, highlights, markupModel, getId(), myHighlightingSession); DaemonCodeAnalyzerEx.getInstanceEx(myProject).getFileStatusMap().markFileUpToDate(myDocument, getId()); myHighlightInfos = highlights; }