public static JpsLoaderContext createNewContext(int totalExpectedDownloads,
                                                  @NotNull CanceledStatus canceledStatus,
                                                  @NotNull String commitId, @NotNull JpsNettyClient nettyClient,
                                                  @NotNull Map<String, Map<String, BuildTargetState>> commitSourcesState,
                                                  @Nullable Map<String, Map<String, BuildTargetState>> currentSourcesState) {
    return new JpsLoaderContext(totalExpectedDownloads, canceledStatus, commitId, nettyClient, commitSourcesState, currentSourcesState);
  }
public static JpsLoaderContext createNewContext(int totalExpectedDownloads,
                                                  @NotNull CanceledStatus canceledStatus,
                                                  @NotNull String commitId, @NotNull JpsNettyClient nettyClient,
                                                  @NotNull Map<String, Map<String, BuildTargetState>> commitSourcesState,
                                                  @Nullable Map<String, Map<String, BuildTargetState>> currentSourcesState)