code: protected void setResolver(final EntityResolver<?> resolver) {
          Utility.assertNotNull(SR.QUERY_REQUIRES_VALID_CLASSTYPE_OR_RESOLVER, resolver);
          this.resolver = resolver;
      }
docs: Reserved for internal use. Sets the resolver to project the entity retrieved as a particular type.
  
  @param resolver
  The {@link EntityResolver} instance to use.