presto-spi/src/main/java/io/prestosql/spi/type/TypeId.java/TypeId/equals
class TypeId:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        TypeId typeId = (TypeId) o;
        return id.equals(typeId.id);
    }