WindowInfoImpl pop(@NotNull ToolWindowAnchor anchor) {
    for (int i = stack.size() - 1; true; i--) {
      WindowInfoImpl info = stack.get(i);
      if (anchor == info.getAnchor()) {
        stack.remove(i);
        return info;
      }
    }
  }
WindowInfoImpl pop(@NotNull ToolWindowAnchor anchor)