code: function(type, err) {
  						if(type && type.type) {
  							var _t = type.type, _ot = original.type;
  							if(_t.name === _ot.name && _t.type === _ot.type && that._sameOrigin(_t.origin, _ot.origin)) {
  								if(_t.guess) {
  									//we took a stab at it, not 100% sure
  									match.confidence = 50;
  								} else {
  									match.confidence = 100;
  								}
  							} else if(_t.staticCheck) {
  								match.confidence = _t.staticCheck.confidence;
  							} else if(_t.category === categories.strings.category ||	_t.category === categories.regex.category) {
  								match.confidence = 0;
  							} else {
  								match.confidence = -1;
  							}
  							match.category = _t.category;
  						} else if(err) {
  							match.category = categories.uncategorized.category;
  							match.confidence = -1;
  						}
  						expected.done++;
  						expected.deferred.progress({message: i18nUtil.formatMessage(Messages['refsFoundIn'], file.Name, expected.done, expected.total)});
  						that._checkDone(expected);
  					}
docs: /* @callback