presto-client/src/main/java/io/prestosql/client/ClientSelectedRole.java/ClientSelectedRole/equals
class ClientSelectedRole:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ClientSelectedRole that = (ClientSelectedRole) o;
        return type == that.type &&
                Objects.equals(role, that.role);
    }