List<UnknownInvalidSdk> (@NotNull List<? extends Sdk> usedSdks) { List<UnknownInvalidSdk> result = new ArrayList<>(); for (Sdk sdk : usedSdks) { if (SdkDownloadTracker.getInstance().isDownloading(sdk)) continue; UnknownInvalidSdk invalidSdk = resolveInvalidSdk(sdk); if (invalidSdk != null) { result.add(invalidSdk); } } return result; }