} // end for
if (resolved) {
// Initialize the import's model resolver with a delegating model
// resolver which will delegate to the matching exports
import_.setModelResolver(new DefaultImportModelResolver(matchingExports));
} else {
// Record import resolution issue
if (!(import_ instanceof DefaultImport)) {
// Add the (empty) matchingExports List and report a warning
import_.setModelResolver(new DefaultImportModelResolver(matchingExports));
// push context here as the "stack" in this case is a list of nexted contributions
// through which imports have been chased which may not make much sense to the
// user so just report the contribution in error
monitor.pushContext("Contribution: " + contribution.getLocation());