// Instance protected namespaces are added to the namespace set
// in TypeScope as we walk up the class hierarchy. The instance
// protected namespace needs to change as we walk up the class hierarchy.
if (lookupKind.findStatics())
{
for (IClassDefinition classDef : initialClassDef.classIterable(compilerProject, true))
result.add(((ClassDefinition)classDef).getStaticProtectedNamespaceReference());
}
}
else if (currentDefinition instanceof InterfaceDefinition)