private static boolean splitExtensions(@NotNull FileType fileType, int extCount) {
    var extensionMode = fileType instanceof OSFileIdeAssociation type ?
                        type.getExtensionMode() :
                        OSFileIdeAssociation.ExtensionMode.Default;
    return switch (extensionMode) {
      case Selected -> true;
      case All -> false;
      default -> extCount > DEFAULT_EXTENSION_SPLIT_THRESHOLD;
    };
  }
private static boolean splitExtensions(@NotNull FileType fileType, int extCount)