protected function transform(Expression $expression)
    {
        $constraint = $expression->getConstraint();
        $getter = 'get'.ucfirst($expression->getSelector());

        return Expr::method($getter, new $constraint($expression->getValue()));
    }