presto-parser/src/main/java/io/prestosql/sql/tree/IntervalLiteral.java/IntervalLiteral/equals
class IntervalLiteral:    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        IntervalLiteral other = (IntervalLiteral) obj;
        return Objects.equals(this.value, other.value) &&
                Objects.equals(this.sign, other.sign) &&
                Objects.equals(this.startField, other.startField) &&
                Objects.equals(this.endField, other.endField);
    }