presto-parser/src/main/java/io/prestosql/sql/tree/GenericDataType.java/GenericDataType/equals
class GenericDataType:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        GenericDataType that = (GenericDataType) o;
        return name.equals(that.name) &&
                arguments.equals(that.arguments);
    }