presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/getMaxReorderedJoins
class SystemSessionProperties:    public static int getMaxReorderedJoins(Session session)
    {
        return session.getSystemProperty(MAX_REORDERED_JOINS, Integer.class);
    }