public static void handleSetPropertyExpression(Object bean,String prop,String expression,PageContext pageContext,ProtectedFunctionMapper functionMapper) throws JasperException {
  try {
    Method method=getWriteMethod(bean.getClass(),prop);
    method.invoke(bean,new Object[]{PageContextImpl.evaluateExpression(expression,method.getParameterTypes()[0],pageContext,functionMapper)});
  }
 catch (  Exception ex) {
    throw new JasperException(ex);
  }
}

public static void handleSetPropertyExpression ( Object bean , String prop , String expression , PageContext pageContext , ProtectedFunctionMapper functionMapper ) throws JasperException { try { Method method = getWriteMethod ( bean . getClass ( ) , prop ) ; method . invoke ( bean , new Object [ ] { PageContextImpl . evaluateExpression ( expression , method . getParameterTypes ( ) [ 0 ] , pageContext , functionMapper ) } ) ; } catch ( Exception ex ) { throw new JasperException ( ex ) ; } }
use proprietaryevaluate public static void handlesetpropertyexpression ( object bean , string prop , string expression , pagecontext pagecontext , variableresolver variableresolver , functionmapper functionmapper ) throws jasperexception { try { method method = getwritemethod ( bean . getclass ( ) , prop ) ; method . invoke ( bean , new object [ ] { pagecontext . getexpressionevaluator ( ) . evaluate ( expression , method . getparametertypes ( ) [ 0 ] , variableresolver , functionmapper , null ) } ) ; } catch ( exception ex ) { throw new jasperexception ( ex ) ; } }
