private List<PydevCompletionVariant> doGetCompletions(String text, String actTok) throws Exception {
    try {
      if (myDebugCommunication != null && myDebugCommunication.isSuspended()) {
        return myDebugCommunication.getCompletions(text, actTok);
      }
      else {
        List<CompletionOption> fromServer = getPythonConsoleBackendClient().getCompletions(text, actTok);
        return ContainerUtil.map(fromServer, option -> toPydevCompletionVariant(option));
      }
    }
    catch (PythonUnhandledException e) {
      LOG.warn("Completion error in Python Console: " + e.traceback);
      return Collections.emptyList();
    }
  }
private List<PydevCompletionVariant> doGetCompletions(String text, String actTok)