void (@NotNull HighlightInfoHolder holder, @NotNull HighlightInfo.Builder builder) { HighlightInfo info = builder.create(); if (info != null && info.getSeverity() == HighlightSeverity.ERROR) { errorFound = true; } holder.add(info); }