docs: @Override
      public PortletDefinition getParentPortletDescriptor(IPortletDefinitionId portletDefinitionId) {
          final IPortletDefinition portletDefinition = this.getPortletDefinition(portletDefinitionId);
          if (portletDefinition == null) {
              return null;
          }
  
          final Tuple<String, String> portletDescriptorKeys =
                  this.getPortletDescriptorKeys(portletDefinition);
  
          final PortletRegistryService portletRegistryService =
                  this.portalDriverContainerServices.getPortletRegistryService();
          try {
              return portletRegistryService.getPortlet(
                      portletDescriptorKeys.first, portletDescriptorKeys.second);
          } catch (PortletContainerException e) {
              if (this.logger.isDebugEnabled()) {
                  this.logger.warn(
                          "No portlet descriptor could be found for the portlet definition, null will be returned: "
                                  + portletDefinition,
                          e);
              } else {
                  this.logger.warn(
                          "No portlet descriptor could be found for the portlet definition, null will be returned: "
                                  + portletDefinition
                                  + " Enable DEBUG for stack trace.");
              }
              return null;
          }
      }