@NotNull
  @Override
  public Collection<VirtualFile> detectRoots(@NotNull VirtualFile rootCandidate, @NotNull ProgressIndicator progressIndicator) {
    if (isAccepted(rootCandidate, progressIndicator)) {
      return Collections.singletonList(rootCandidate);
    }
    return Collections.emptyList();
  }
@NotNull
  @Override
  public Collection<VirtualFile> detectRoots(@NotNull VirtualFile rootCandidate, @NotNull ProgressIndicator progressIndicator)