addBuilder((T) event.getMember());
}
public void memberRemoved(ReferenceCollectionEvent event) {
T builder = (T) event.getMember();
QNameSet builderSpecQNames = builder.getSpecQNameSet();
specQNames = specQNames.intersect(builderSpecQNames.inverse());
QNameSet builderPlanQNames = builder.getPlanQNameSet();
planQNames = planQNames.intersect(builderPlanQNames.inverse());
XmlBeansUtil.unregisterSubstitutionGroupElements(builder.getBaseQName(), builderPlanQNames);
}
});
}
for (T builder : this.builders) {