code: public static Expression<?> toExpression(Object o) {
          if (o instanceof Expression) {
              return (Expression<?>) o;
          } else {
              return ConstantImpl.create(o);
          }
      }
docs: Converts the given object to an Expression
  
  <p>Casts expressions and wraps everything else into co</p>
  
  @param o object to convert
  @return converted argument