Why does DiscoverInfo.Identity have setType and not setCategory?
It seems to me to be a bad, or at least inconsistent, design, to have one property of Identity mutable, but not the others. I would like Identity to be final and immutable, since I construct an object based on an Identity, but have to clone it to ensure setType isn’‘t called after initialization. It’‘s not a big deal, that’‘s why I’'m posting it here rather then filing a bug.
Can anyone provide a use case for DiscoverInfo.Identity.setType, and explain how it is better then creating a new instance?