docs: public static <T, K> Join<T, K> findJoinedType(CriteriaQuery<T> query, Class<T> rootClass, Class<K> joinClass) {
          Root<T> root = findRoot(query, rootClass);
          return findJoinedType(root, rootClass, joinClass);
      }