// at this point attributes that are unused aren't strictly unknown, so
// much as incompatible with other attributes, so add Alerts indicating this.
for (Map.Entry<AttributeName, Attribute> entry : namesToAttrs.entrySet()) {
if (!used.contains(entry.getKey())) {
used.add(entry.getKey());
alertSink.add(new MultiValueAttributeError(forNode, entry.getValue()));
}
}
return ImmutableList.copyOf(result);
}