@NotNull
  public static LibrariesContainer createContainer(@NotNull WizardContext context, @NotNull ModulesProvider modulesProvider) {
    return modulesProvider instanceof ModulesConfigurator configurator
           ? createContainer(configurator.getContext())
           : createContainer(context.getProject());
  }
@NotNull
  public static LibrariesContainer createContainer(@NotNull WizardContext context, @NotNull ModulesProvider modulesProvider)