void (@NotNull LayeredLexer docLexer) { HtmlLexer htmlLexer = new HtmlLexer(true); htmlLexer.setHasNoEmbeddments(true); docLexer.registerLayer(htmlLexer, JavaDocTokenType.DOC_COMMENT_DATA); registerSelfStoppingLayer(docLexer, new IElementType[]{JavaDocElementType.DOC_COMMENT}, IElementType.EMPTY_ARRAY); }