@Override
  public @NotNull Collection<VcsRoot> detect() {
    MAPPING_DETECTION_LOG.debug("VcsRootDetectorImpl.detect");
    synchronized (LOCK) {
      Activity activity = StartUpMeasurer.startActivity("VcsRootDetector.detect");
      Collection<VcsRoot> roots = scanForRootsInContentRoots();
      activity.end();

      myDetectedRoots = ContainerUtil.map(roots, DetectedVcsRoot::new);
      return roots;
    }
  }
@Override
  public @NotNull Collection<VcsRoot> detect()