Collections2.filter(instancePerName.asMap().entrySet(), Predicates.not(new IsUnique<>())); if (!errors.isEmpty()) { switch (options.getStableUniqueNames()) { case OFF: break; default: throw new IllegalArgumentException( "Unrecognized value for stable unique names: " + options.getStableUniqueNames());