.findModule(model, null, null, path,
IErlElementLocator.Scope.ALL_PROJECTS);
if (module != null) {
return module;
}
<BUG>final String encoding = getEncodingForInput(editorInput);
</BUG>
final IPath p = new Path(path);
return ErlangEngine.getInstance().getModel().getModuleFromFile(null,
p.lastSegment(), p, encoding);

.findModule(model, null, null, path,
IErlElementLocator.Scope.ALL_PROJECTS);
if (module != null) {
return module;
}
final Charset encoding = getEncodingForInput(editorInput);
final IPath p = new Path(path);
return ErlangEngine.getInstance().getModel().getModuleFromFile(null,
p.lastSegment(), p, encoding);
