presto-main/src/main/java/io/prestosql/sql/planner/plan/JoinNode.java/JoinNode/flipJoinCriteria
class JoinNode:    private static List<EquiJoinClause> flipJoinCriteria(List<EquiJoinClause> joinCriteria)
    {
        return joinCriteria.stream()
                .map(EquiJoinClause::flip)
                .collect(toImmutableList());
    }