class JcrSqlQueryParser extends BasicSqlQueryParser {

    @Override
    protected String parseName( TokenStream tokens,
                                TypeSystem typeSystem ) {
        String token1 = tokens.consume();
        token1 = removeBracketsAndQuotes(token1, tokens.previousPosition());
        if (tokens.canConsume(':')) {
            String token2 = tokens.consume();
            token2 = removeBracketsAndQuotes(token2, tokens.previousPosition());
            return token1 + ':' + token2;
        }
        return token1;
    }

    public  JcrSqlQueryParser();

}