presto-main/src/main/java/io/prestosql/sql/planner/plan/IndexJoinNode.java/IndexJoinNode/replaceChildren
class IndexJoinNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        checkArgument(newChildren.size() == 2, "expected newChildren to contain 2 nodes");
        return new IndexJoinNode(getId(), type, newChildren.get(0), newChildren.get(1), criteria, probeHashSymbol, indexHashSymbol);
    }