HtmlChunk (@NotNull final ConfigurationErrorWithIndex errorIndex) { final int index = errorIndex.myIdx; final ConfigurationError error = errorIndex.myError ; final HtmlChunk description = getErrorDescription(index, error); if (!error.canBeFixed()) return description.wrapWith("li"); final String text = "[" + JavaUiBundle.message("fix.link.text") + "]"; return new HtmlBuilder().append(description) .append(HtmlChunk.nbsp()) .append(HtmlChunk.link("http://fix/" + index, text)) .wrapWith("li"); }