code: public PortletInfoType<PortletType<T>> getOrCreatePortletInfo()
     {
        Node node = childNode.getOrCreate("portlet-info");
        PortletInfoType<PortletType<T>> portletInfo = new PortletInfoTypeImpl<PortletType<T>>(this, "portlet-info", childNode, node);
        return portletInfo;
     }
docs: If not already created, a new <code>portlet-info</code> element with the given value will be created.
  Otherwise, the existing <code>portlet-info</code> element will be returned.
  @return  a new or existing instance of <code>PortletInfoType<PortletType<T>></code>