protected object evaluateGetValueBody(OgnlContext context, object source) { object result; context.setCurrentObject(source); context.setCurrentNode(this); if (!constantValueCalculated) { constantValueCalculated = true; hasConstantValue = isConstant(context); if (hasConstantValue) { constantValue = getValueBody(context, source); } } return(hasConstantValue ? constantValue : getValueBody(context, source)); }
protected void evaluateSetValueBody(OgnlContext context, object target, object value) { context.setCurrentObject(target); context.setCurrentNode(this); setValueBody(context, target, value); }