String (@NotNull @NlsContexts.Tooltip String text, @Nullable @Nls String appendix) { HtmlBuilder result = new HtmlBuilder(); result.append(text); if (appendix != null) { result.br(); result.append(HtmlChunk.div("margin-top:5px; font-size:small").addText(appendix)); } return result.wrapWithHtmlBody().toString(); }