ProductModules (@NotNull InputStream inputStream, @NotNull String filePath, @NotNull ProductMode currentMode, @NotNull RuntimeModuleRepository repository) { try { return ProductModulesXmlLoader.parseModuleXml(inputStream, filePath, currentMode, repository); } catch (XMLStreamException e) { throw new MalformedRepositoryException("Failed to load module group from " + filePath, e); } }