for (Iterator i = script.getDefinitionIterator(); i.hasNext();)
{
u.topLevelDefinitions.add(new QName((String) i.next()));
}
SwcDependencySet set = script.getDependencySet();
for (Iterator i = set.getDependencyIterator(SwcDependencySet.INHERITANCE); i != null && i.hasNext();)
{
u.inheritance.add(new MultiName((String) i.next()));
}
for (Iterator i = set.getDependencyIterator(SwcDependencySet.SIGNATURE); i != null && i.hasNext();)
{
u.types.add(new MultiName((String) i.next()));
}
for (Iterator i = set.getDependencyIterator(SwcDependencySet.NAMESPACE); i != null && i.hasNext();)
{
u.namespaces.add(new MultiName((String) i.next()));
}
for (Iterator i = set.getDependencyIterator(SwcDependencySet.EXPRESSION); i != null && i.hasNext();)
{
u.expressions.add(new MultiName((String) i.next()));
}
// C: use symbol dependencies to obtain additional class dependencies,