IdlType bt = findType(qname);
boolean isDefault = false;
if (ub.isSetDefault()) {
isDefault = ub.isDefault();
}
IdlUnionBranch b = IdlUnionBranch.create(union, ub.getName(), bt, isDefault);
Iterator it2 = ub.getCase().iterator();
while (it2.hasNext()) {
b.addCase(((CaseType)it2.next()).getLabel());
}
// Ensure that this union will not be written until all of its circular members are
// defined, unless the undefined circular members are of sequence type.