QualifiedName (String... components) { for (String component : components) { assertNoDots(component); } QualifiedName result = new QualifiedName(components.length); Collections.addAll(result.myComponents, components); return result; }