public @NotNull List<PydevCompletionVariant> getCompletions(String prefix) throws Exception {
    if (isConnected()) {
      final PyStackFrame frame = currentFrame();
      return myDebugger.getCompletions(frame.getThreadId(), frame.getFrameId(), prefix);
    }
    return new ArrayList<>();
  }
public @NotNull List<PydevCompletionVariant> getCompletions(String prefix)