private static ConstantValueExpression asCVE ( AbstractExpression expr ) { return expr instanceof ConstantValueExpression ? ( ConstantValueExpression ) expr : ( ( ParameterValueExpression ) expr ) . getOriginalValue ( ) ; }
Convert a ConstantValueExpression or ParameterValueExpression into a ConstantValueExpression . \ pre argument must be either of the two .