List<OrderRoot> (@NotNull final Collection<? extends VirtualFile> rootCandidates, @Nullable Component parentComponent, @Nullable Project project, @NotNull final LibraryRootsComponentDescriptor rootsComponentDescriptor) { return detectRoots(rootCandidates, parentComponent, project, rootsComponentDescriptor.getRootsDetector(), rootsComponentDescriptor.getRootTypes()); }