HighlightInfo () { assertNotCreated(); created = true; if (severity == null) { severity = type.getSeverity(psiElement); } HighlightInfo info = new HighlightInfo(forcedTextAttributes, forcedTextAttributesKey, type, startOffset, endOffset, escapedDescription, escapedToolTip, severity, isAfterEndOfLine, myNeedsUpdateOnTyping, isFileLevelAnnotation, navigationShift, problemGroup, toolId, gutterIconRenderer, group, unresolvedReference); for (FixInfo fix : fixes) { info.registerFix(fix.action(), fix.options(), fix.displayName(), fix.fixRange(), fix.key()); } return info; }