@NotNull @Override public JpsLibrary addModuleLibrary(@NotNull JpsLibraryType<?> type, @NotNull String name) { final JpsElementCollectionImpl<JpsLibraryImpl> collection = myContainer.getChild(JpsLibraryKind.LIBRARIES_COLLECTION_KIND); return collection.addChild(new JpsLibraryImpl(name, type)); }