}
l.add(ns);
}
List<IType> result = new LinkedList<IType>();
for (Entry<String, List<IType>> entry : aggregated.entrySet()) {
result.add(new NamespaceNode(project, entry.getKey(), entry
.getValue().toArray(new IType[entry.getValue().size()])));
}
return result.toArray();
}