}
@Override
protected Element internalLookup(Identifier identifier, String name,
LibraryElement referencingLibrary) {
Element foundElement = localLookup(name, referencingLibrary);
if (foundElement != null) {
return foundElement;
}
for (int i = 0; i < importedNamespaces.length; i++) {
Namespace nameSpace = importedNamespaces[i];
Element element = nameSpace.get(name);
if (element != null) {
if (foundElement == null) {
foundElement = element;
} else if (foundElement != element) {
foundElement = MultiplyDefinedElementImpl.fromElements(