}
String _mod_1 = res.getMod();
String _path_1 = res.getPath();
String _fun_1 = res.getFun();
int _arity = res.getArity();
ErlangFunction _erlangFunction = new ErlangFunction(_fun_1, _arity);
final IErlFunction result = this.modelFindService.findFunction(model, project, module, _mod_1, _path_1, _erlangFunction, scope);
boolean _tripleNotEquals = (result != null);
if (_tripleNotEquals) {
return result;
}
String _mod_2 = res.getMod();
String _path_2 = res.getPath();
String _fun_2 = res.getFun();
ErlangFunction _erlangFunction_1 = new ErlangFunction(_fun_2, ErlangFunction.ANY_ARITY);
return this.modelFindService.findFunction(model, project, module, _mod_2, _path_2, _erlangFunction_1, scope);
}