@NotNull
  private static String getIdentityPath(@NotNull ProjectResolverContext resolverCtx,
                                        @NotNull ExternalProject externalProject,
                                        @NotNull @NlsSafe String rootProjectName) {
    String buildSrcPrefix = getBuildSrcPrefix(resolverCtx, rootProjectName);
    if (!StringUtil.isEmpty(buildSrcPrefix)) {
      return patchBuildSrcIdentity(buildSrcPrefix, externalProject.getIdentityPath());
    }
    return externalProject.getIdentityPath();
  }
@NotNull
  private static String getIdentityPath(@NotNull ProjectResolverContext resolverCtx,
                                        @NotNull ExternalProject externalProject,
                                        @NotNull @NlsSafe String rootProjectName)