/**
* INTERNAL
* Build a parser for the passed ejbql string, for ANTLR version 2.7.3
*/
public static EJBQLParser buildParser(String queryText) {
EJBQLLexer lexer = new EJBQLLexer(new StringReader(queryText));
TokenBuffer buffer = new TokenBuffer(lexer);
EJBQLParser parser = new EJBQLParser(buffer);
return parser;
}