docs: protected UrlState determineUrlState(
              final IPortletWindow portletWindow,
              final IPortletUrlBuilder targetedPortletUrlBuilder) {
          final WindowState requestedWindowState;
          if (targetedPortletUrlBuilder == null) {
              requestedWindowState = null;
          } else {
              requestedWindowState = targetedPortletUrlBuilder.getWindowState();
          }
  
          return determineUrlState(portletWindow, requestedWindowState);
      }