public ModuleStub registerModuleStub(IFile file, MPSModuleOwner owner) {
myDirtyFlag = true;
String canonicalPath = file.getCanonicalPath();
ModuleStub moduleStub = myFileToModuleStubMap.get(canonicalPath);
if (moduleStub == null) {
<BUG>moduleStub = ModuleStub.newInstance(file, owner);
</BUG>
} else {
myModuleStubToOwners.addLink(moduleStub, owner);
}

public ModuleStub registerModuleStub(IFile file, MPSModuleOwner owner) {
myDirtyFlag = true;
String canonicalPath = file.getCanonicalPath();
ModuleStub moduleStub = myFileToModuleStubMap.get(canonicalPath);
if (moduleStub == null) {
moduleStub = ModuleStub.newInstance(file, CollectionUtil.asSet(owner));
} else {
myModuleStubToOwners.addLink(moduleStub, owner);
}
