try {
CompletionContext context = new CompletionContext();
requestor.acceptContext(context);
Path compilerPath = getCompilerPath(moduleSource);
CompletionSearchResult completionResult = DToolClient.getDefault().runCodeCompletion(
moduleSource, position, compilerPath);
if(completionResult.isFailure()) {
handleCompletionFailure(DeeCoreMessages.ContentAssist_LocationFailure, position);
return;
}
for (INamedElement result : completionResult.getResults()) {
CompletionProposal proposal = createProposal(result, position, completionResult);
requestor.accept(proposal);
}
} catch (CoreException e) {