HtmlChunk (@Nls String errorMessage) { if (errorMessage == null) { return HtmlChunk.empty(); } return HtmlChunk.tag("td").style("padding-left: 4px; padding-top: 10;") .addText(JavaAnalysisBundle.message("type.mismatch.reason", errorMessage)) .wrapWith("tr").wrapWith("table"); }