void (StringBuilder buffer, PsiInlineDocTag tag) { var children = tag.getChildren(); for (PsiElement child : children) { if (child instanceof PsiDocToken) { var tokenType = ((PsiDocToken)child).getTokenType(); if (tokenType == JavaDocTokenType.DOC_INLINE_TAG_END || tokenType == JavaDocTokenType.DOC_INLINE_TAG_START || tokenType == JavaDocTokenType.DOC_COMMENT_LEADING_ASTERISKS) { continue; } } appendPlainText(buffer, child.getText()); } }