public static Expression < ? > toExpression ( Object o ) { if ( o instanceof Expression ) { return ( Expression < ? > ) o ; } else { return ConstantImpl . create ( o ) ; } }
Converts the given object to an Expression