@Nullable
  public static Ref<PyType> getReferenceTypeFromProviders(@NotNull PsiElement target,
                                                          @NotNull TypeEvalContext context,
                                                          @Nullable PsiElement anchor) {
    for (PyTypeProvider provider : PyTypeProvider.EP_NAME.getExtensionList()) {
      final Ref<PyType> result = provider.getReferenceType(target, context, anchor);
      if (result != null) {
        return result;
      }
    }

    return null;
  }
@Nullable
  public static Ref<PyType> getReferenceTypeFromProviders(@NotNull PsiElement target,
                                                          @NotNull TypeEvalContext context,
                                                          @Nullable PsiElement anchor)