docs: public static <T> T assumeFacet(Class<T> facetType, Faceted subject)
      {
          if (subject != null)
          {
              T facet = subject.asFacet(facetType);
              if (facet != null) return facet;
          }
  
          throw new UnsupportedFacetException(facetType, subject);
      }