code: private String getNewAreaResourceType(String componentPath) {
      Resource componentResource = resolver.getResource(componentPath);
      if (componentResource != null) {
        if (componentResource.getChild(NEWAREA_CHILD_NAME) != null) {
          return componentPath + "/" + NEWAREA_CHILD_NAME;
        }
        String resourceSuperType = componentResource.getResourceSuperType();
        if (StringUtils.isNotEmpty(resourceSuperType)) {
          return getNewAreaResourceType(resourceSuperType);
        }
      }
      return FALLBACK_NEWAREA_RESOURCE_TYPE;
    }
docs: Get resource type for new area - from current parsys component or from a supertype component.
  @param componentPath Component path
  @return Resource type (never null)