private Stream<XInlineWatchesView> getWatchesViews() {
    return Arrays.stream(XDebuggerManager.getInstance(myProject).getDebugSessions())
      .map(s -> ((XDebugSessionImpl)s).getSessionTab())
      .filter(t -> t != null && t.getWatchesView() instanceof XInlineWatchesView)
      .map(t -> (XInlineWatchesView)t.getWatchesView());
  }
private Stream<XInlineWatchesView> getWatchesViews()