// final String name = entry.getName();
parent = pathToEntryMap.get(entry.getParentPath());
if (entry.isModule()) {
final IErlModule module = model.getModuleFromFile(parent,
getNameFromPath(path), path, null, path);
parent.addChild(module);
} else {
final String name = getNameFromExternalPath(path);
final ErlExternalReferenceEntry externalReferenceEntry = new ErlExternalReferenceEntry(
parent, name, path, true, includeDir);
pathToEntryMap.put(path, externalReferenceEntry);