UnknownSdkFixAction (@NotNull UnknownSdk unknownSdk, @NotNull Supplier<? extends @Nullable UnknownSdkLocalSdkFix> localSdkFixAction, @NotNull Supplier<? extends @Nullable UnknownSdkDownloadableSdkFix> downloadFixAction) { var localSdkFix = localSdkFixAction.get(); if (localSdkFix != null) { return createMissingSdkFixAction(unknownSdk, localSdkFix); } var downloadFix = downloadFixAction.get(); if (downloadFix != null) { return createMissingSdkFixAction(unknownSdk, downloadFix); } return null; }