if (e instanceof IErlFunctionClause) {
final IErlFunctionClause clause = (IErlFunctionClause) e;
clauseHead = clause.getFunctionName() + clause.getHead();
}
} else if (function != null) {
final IErlFunction f = module.findFunction(function);
if (f != null) {
lineNumber = f.getLineStart() + 1;
clauseHead = f.getFunctionName() + f.getHead();
}
}