presto-main/src/main/java/io/prestosql/sql/planner/optimizations/PreferredProperties.java/PreferredProperties/PreferredProperties
class PreferredProperties:    private PreferredProperties(
            Optional<Global> globalProperties,
            List<? extends LocalProperty<Symbol>> localProperties)
    {
        requireNonNull(globalProperties, "globalProperties is null");
        requireNonNull(localProperties, "localProperties is null");

        this.globalProperties = globalProperties;
        this.localProperties = ImmutableList.copyOf(localProperties);
    }