QualifiedName (Collection<String> components) { for (String component : components) { assertNoDots(component); } QualifiedName qName = new QualifiedName(components.size()); qName.myComponents.addAll(components); return qName; }