static Pair<List<TableRow>, TableCell> getTableAndPosition(PsiElement root, PsiElement element) {
    Pair<List<Pair<Boolean, List<Integer>>>, List<XmlTag>> pair = generateTableTree(root);
    List<Pair<Boolean, List<Integer>>> tree = pair.first;
    List<XmlTag> tags = pair.second;
    List<TableRow> table = new ArrayList<>();
    TableCell cell = getTableCell(tree, tags, 0, (XmlTag)element, new TableRow(null, false), table).first;
    return Pair.create(table, cell);
  }
static Pair<List<TableRow>, TableCell> getTableAndPosition(PsiElement root, PsiElement element)