PropertyExpressionLexer lexer = new PropertyExpressionLexer(ais);
CommonTokenStream tokens = new CommonTokenStream(lexer);
PropertyExpressionParser parser = new PropertyExpressionParser(tokens);
try
{
return (Tree) parser.start().getTree();
}
catch (Exception ex)
{
throw new RuntimeException(String.format("Error parsing property expression '%s': %s.", expression, ex
.getMessage()), ex);