presto-matching/src/main/java/io/prestosql/matching/pattern/EqualsPattern.java/EqualsPattern/EqualsPattern
class EqualsPattern:    public EqualsPattern(T expectedValue, Optional<Pattern<?>> previous)
    {
        super(previous);
        this.expectedValue = requireNonNull(expectedValue, "expectedValue can't be null. Use isNull() pattern instead.");
    }