docs: static <T extends GridDialect> T getDialectFacetOrNull(GridDialect gridDialect, Class<T> facetType) {
  		if ( hasFacet( gridDialect, facetType ) ) {
  			@SuppressWarnings("unchecked")
  			T asFacet = (T) gridDialect;
  			return asFacet;
  		}
  
  		return null;
  	}