boolean (@NotNull LibraryOrSdkOrderEntry forOrderEntry, @NotNull OrderRootType type, @NotNull Collection<? super String> result, @NotNull List<? extends OrderEnumerationHandler> customHandlers) { for (OrderEnumerationHandler handler : customHandlers) { final List<String> urls = new ArrayList<>(); final boolean added = handler.addCustomRootsForLibraryOrSdk(forOrderEntry, type, urls); result.addAll(urls); if (added) { return true; } } return false; }