CharStream input = new ANTLRInputStream(new ByteArrayInputStream(statement.getBytes("UTF-8")));
TokenSource lexer = new CmisQlStrictLexer(input);
TokenStream tokens = new CommonTokenStream(lexer);
CmisQlStrictParser parser = new CmisQlStrictParser(tokens);
query_return parsedStatement = parser.query();
// if (parser.errorMessage != null) {
// throw new RuntimeException("Cannot parse query: " + statement + " (" + parser.errorMessage + ")");
// }
parserTree = (CommonTree) parsedStatement.getTree();
// printTree(tree);