public void adjust(@NotNull JBPopup popup, @NotNull Dimension d, @NotNull Position @NotNull ... traversalPolicy) {
      Rectangle bounds = adjustBounds(d, traversalPolicy);
      adjust(popup, d, bounds);
    }
public void adjust(@NotNull JBPopup popup, @NotNull Dimension d, @NotNull Position @NotNull ... traversalPolicy)