for(int i=0; i<size; i++) {
Import imprt = (Import)_imports.get(i);
Location location = imprt.getLocation();
Object source = imprt.getSource();
Name[] decls = imprt.getDeclarations();
Type type = imprt.resolve(listener);
if (type != null) {
if (imprt.importAll()) {
if (type instanceof Scope) {
addExternals(listener, location, source, (Scope)type);
} else {