public static @NotNull Anchor getAnchor(@NotNull ToolWindowAnchor anchor, boolean split) {
      if (split) {
        if (anchor == ToolWindowAnchor.LEFT) return LeftBottom;
        if (anchor == ToolWindowAnchor.BOTTOM) return BottomRight;
        if (anchor == ToolWindowAnchor.RIGHT) return RightBottom;
        if (anchor == ToolWindowAnchor.TOP) return TopRight;
      }

      if (anchor == ToolWindowAnchor.LEFT) return LeftTop;
      if (anchor == ToolWindowAnchor.BOTTOM) return BottomLeft;
      if (anchor == ToolWindowAnchor.RIGHT) return RightTop;
      /*if (anchor == ToolWindowAnchor.TOP) */
      return TopLeft;
    }
public static @NotNull Anchor getAnchor(@NotNull ToolWindowAnchor anchor, boolean split)