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