@NotNull
  private static List<@NotNull PyCallableType> getRemoteResolveResults(@NotNull PyCallExpression call,
                                                                       @NotNull PyResolveContext resolveContext) {
    if (!resolveContext.allowRemote()) return Collections.emptyList();
    PsiFile file = call.getContainingFile();
    if (file == null || !PythonRuntimeService.getInstance().isInPydevConsole(file)) return Collections.emptyList();
    PyType calleeType = getCalleeType(call, resolveContext);
    return PyTypeUtil.toStream(calleeType).select(PyCallableType.class).toList();
  }
@NotNull
  private static List<@NotNull PyCallableType> getRemoteResolveResults(@NotNull PyCallExpression call,
                                                                       @NotNull PyResolveContext resolveContext)