void (@Nullable EditorMarkupModelImpl editorMarkupModel) { List<HighlightSeverity> severities = mySeverityRegistrar.getAllSeverities(); if (cachedErrors.length != severities.size()) { cachedErrors = new int[severities.size()]; } for (HighlightSeverity severity : severities) { int severityIndex = mySeverityRegistrar.getSeverityIdx(severity); cachedErrors[severityIndex] = errorCount.getInt(severity); } }