use of org.erlide.engine.internal.model.root.ErlModule in project erlide_eclipse by erlang.
the class ErlModel method getModuleWithoutResource.
private IErlModule getModuleWithoutResource(final IParent parent, final String name, final IPath path, final Charset encoding, final String initialText) {
IErlModule m = moduleMap.get(path);
if (m == null) {
final IParent parent2 = parent == null ? this : parent;
if (path != null) {
m = new ErlModule(parent2, name, path.toPortableString(), encoding, initialText);
moduleMap.put(path, m);
mapModule.put(m, path);
} else {
m = new ErlModule(parent2, name, null, encoding, initialText);
}
}
return m;
}
Aggregations