docs: private CommonTree resolve(TokenStream tokens, CommonTree tree, QueryResolverDelegate resolverDelegate) throws RecognitionException {
        CommonTreeNodeStream treeNodeStream = new CommonTreeNodeStream(tree);
        treeNodeStream.setTokenStream(tokens);
        return (CommonTree) new QueryResolver(treeNodeStream, resolverDelegate).statement().getTree();
     }