}
List<ICompletionProposal> getExternalCallCompletions(final IOtpRpc b,
final String moduleName0, final int offset, final String prefix,
final boolean arityOnly) throws CoreException {
final ModelFindService modelFindService = ErlangEngine.getInstance()
.getModelFindService();
final String moduleName = modelFindService.resolveMacroValue(moduleName0, module);
// we have an external call
final List<ICompletionProposal> result = new ArrayList<ICompletionProposal>();
final boolean checkAllProjects = NavigationPreferencePage.getCheckAllProjects();
final IErlElementLocator model = ErlangEngine.getInstance().getModel();
final IErlModule theModule = modelFindService.findModule(model, project,
moduleName, null,
checkAllProjects ? IErlElementLocator.Scope.ALL_PROJECTS
: IErlElementLocator.Scope.REFERENCED_PROJECTS);
if (theModule != null) {
if (ErlangEngine.getInstance().getModelUtilService().isOtpModule(theModule)) {