@ApiStatus.Internal
  public static @NotNull TextWithIcon projectLocation(@Nullable VirtualFile vFile,
                                                      @NotNull Module module,
                                                      @NotNull ProjectFileIndex fileIndex) {
    boolean inTestSource = vFile != null && fileIndex.isInTestSourceContent(vFile);
    String text;
    if (Registry.is("ide.show.folder.name.instead.of.module.name")) {
      String path = ModuleUtilCore.getModuleDirPath(module);
      text = StringUtil.isEmpty(path) ? module.getName() : new File(path).getName();
    }
    else {
      text = module.getName();
    }
    Icon icon;
    if (inTestSource) {
      icon = AllIcons.Nodes.TestSourceFolder;
    }
    else {
      icon = ModuleType.get(module).getIcon();
    }
    return new TextWithIcon(text, icon);
  }
@ApiStatus.Internal
  public static @NotNull TextWithIcon projectLocation(@Nullable VirtualFile vFile,
                                                      @NotNull Module module,
                                                      @NotNull ProjectFileIndex fileIndex)