Collection<String> (@Nullable VirtualFile baseDir) { List<String> candidates = new ArrayList<>(); if (baseDir != null) { baseDir.refresh(true, false); VirtualFile[] suspects = baseDir.getChildren(); for (VirtualFile child : suspects) { candidates.addAll(findInRootDirectory(child)); } } return candidates; }