int (@NotNull ASTNode child) { LOG.assertTrue(child.getTreeParent() == this); IElementType i = child.getElementType(); if (i == DOC_TAG) { return ChildRole.DOC_TAG; } else if (i == JavaDocElementType.DOC_COMMENT || i == DOC_INLINE_TAG) { return ChildRole.DOC_CONTENT; } else if (i == DOC_COMMENT_LEADING_ASTERISKS) { return ChildRole.DOC_COMMENT_ASTERISKS; } else if (i == DOC_COMMENT_START) { return ChildRole.DOC_COMMENT_START; } else if (i == DOC_COMMENT_END) { return ChildRole.DOC_COMMENT_END; } else { return ChildRoleBase.NONE; } }