public @Nullable Sdk findMostRecentSdkOfType(@NotNull SdkTypeId type) {
    return getSdksOfType(type).stream().max(type.versionComparator()).orElse(null);
  }
public @Nullable Sdk findMostRecentSdkOfType(@NotNull SdkTypeId type)