}
}
public void addChildren(String parentType, String ... childTypes) {
parentType = fixType(parentType);
StringSet permitted = permittedChildren.get(parentType);
if (permitted == null) {
permittedChildren.put(parentType, permitted = CollectionUtils.createStringSet());
}
for (String childType : childTypes) {
checkNotTopLevel(childType);
permitted.add(childType);
}
}