Collection<VcsRoot> () { 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; } }