@NotNull
  private static List<RatedResolveResult> resolveTypeParameters(@NotNull PyTypeParameterListOwner typeParameterListOwner,
                                                                @NotNull String name) {
    if (typeParameterListOwner.getTypeParameterList() != null) {
      return StreamEx.of(typeParameterListOwner.getTypeParameterList().getTypeParameters())
        .filter(it -> name.equals(it.getName()))
        .map(it -> new RatedResolveResult(RatedResolveResult.RATE_NORMAL, it))
        .toList();
    }
    else {
      return Collections.emptyList();
    }
  }
@NotNull
  private static List<RatedResolveResult> resolveTypeParameters(@NotNull PyTypeParameterListOwner typeParameterListOwner,
                                                                @NotNull String name)