//if(false)
{
// addSlotTraits/addMethodTraits ignore's the value of the Qualifier so a list of
// namespaces would suffice although even better to refactor these methods to take
// one namespace at a time
Qualifiers q = new Qualifiers();
for (int i = 0; (i = names.hasNext(i)) != -1; i++)
{
q.clear();
int slotId = names.getSlot(i);
String name = names.getName(i);
q.put(names.getNamespace(i), 0);
if(slotId < 1)
continue;
Slot s = obj.getSlot(cx, slotId);