> I thinks id can be null, and ImmutableSet.of(id) will generate like id=null. cause null toString is null and empty string toString is .

Indeed. Is that what we want?