HtmlChunk (String refText, @Nls String label) { HtmlChunk text = HtmlChunk.text(label).wrapWith("code"); String link = DocumentationManagerProtocol.PSI_ELEMENT_PROTOCOL + refText; return HtmlChunk.link(link, text); }