JpsModuleDependency (@NotNull JpsModuleReference moduleReference) { final JpsModuleDependencyImpl dependency = new JpsModuleDependencyImpl(moduleReference); myContainer.getChild(DEPENDENCY_COLLECTION_ROLE).addChild(dependency); return dependency; }