int i =0;
for (TemplateField field : tvars) {
IMethod method = field.getMethod();
IDLTKSearchScope scope = SearchEngine.createSearchScope(field.getSourceModule());
IMethod[] methods = model.findMethods(method.getElementName(), MatchRule.EXACT, 0, 0, scope, null);
if (methods.length == 1) {
links[i++] = new ModelElementHyperlink(wordRegion, methods[0], new OpenAction(editor));;
}
}