@NotNull
  public static ModulesProvider createForProject(@Nullable Project project) {
    return project == null ? EMPTY_MODULES_PROVIDER : new DefaultModulesProvider(project);
  }
@NotNull
  public static ModulesProvider createForProject(@Nullable Project project)