@Deprecated
  public void applyThreadFilter(@NotNull final DebugProcessImpl debugProcess, @Nullable ThreadReference newFilterThread) {
    if (newFilterThread != null) {
      applyThreadFilter(debugProcess, new RealThreadInfo(newFilterThread));
    }
    else {
      removeThreadFilter(debugProcess);
    }
  }
@Deprecated
  public void applyThreadFilter(@NotNull final DebugProcessImpl debugProcess, @Nullable ThreadReference newFilterThread)