docs: public static <T> Root getRoot(AbstractQuery<T> query, Class queryType) {
          Root<?> table = null;
          for( Root<?> root : query.getRoots() ) {
             if( root.getJavaType().equals(queryType) )  {
                 table = root;
                 break;
             }
          }
          return table;
      }