return false;
}
//now, there's a catch here... the import checker will make the module 'resolved' for any token it found, even
//if it doesn't end up matching with the token we're looking for... so, we must keep on going with the
//import definitions until we actually find what we're looking for.
ImportInfo info = found.importInfo;
if (info != null && info.wasResolved) {
if (info.rep.length() != 0 && info.token.isImport()) {
//we only actually had a match with a module if the representation found is empty
Definition definition = info.getModuleDefinitionFromImportInfo(nature, this.completionCache);
if (definition != null && definition.module.getName().equals(this.moduleToFind.getName())) {
return true;
}
} else if (info.mod.getName().equals(this.moduleToFind.getName())) {