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