text: public MatchAllDocsQuery build(QueryNode queryNode) throws QueryNodeException {if (!(queryNode instanceof MatchAllDocsQueryNode)) {throw new QueryNodeException(new MessageImpl(QueryParserMessages.LUCENE_QUERY_CONVERSION_ERROR, queryNode.toQueryString(new EscapeQuerySyntaxImpl()), queryNode.getClass().getName()));}return new MatchAllDocsQuery();}