}
} else if (edocView != null) {
input = edocView.getInput();
}
if (input != null) {
final AbstractErlangEditor editor = input.getEditor();
String moduleName = "";
final Object inputElement = input.getInputElement();
if (inputElement instanceof ExternalCallOpenResult) {
final ExternalCallOpenResult or = (ExternalCallOpenResult) inputElement;
moduleName = or.getMod();
}
final ErlangFunctionCall functionCall = HoverUtil.eventToErlangFunctionCall(
moduleName, event);
if (functionCall != null) {
final IErlProject project = ErlangEngine.getInstance()
.getModelUtilService().getProject(editor.getModule());
if (project == null) {
return;
}
final IOtpRpc backend = BackendCore.getBuildBackend(project);