添加getCommonAncestor/contains