public IErlExport findExport(final ErlangFunction function) {
try {
for (final IErlElement e : getChildrenOfKind(ErlElementKind.EXPORT)) {
if (e instanceof IErlExport) {
final IErlExport ee = (IErlExport) e;
if (ee.hasFunction(function)) {
return ee;
}
}
}
} catch (final ErlModelException e) {