Collection<VirtualFile> (@NotNull VirtualFile rootCandidate, @NotNull ProgressIndicator progressIndicator) { if (rootCandidate.isInLocalFileSystem()) { if (rootCandidate.isDirectory()) { for (VirtualFile file : rootCandidate.getChildren()) { if (isNativeLibrary(file)) { return Collections.singleton(rootCandidate); } } } else if (isNativeLibrary(rootCandidate)) { return Collections.singleton(rootCandidate.getParent()); } } return Collections.emptyList(); }