public ValueExpression resolveVariable(String name) { ValueExpression value = source.resolveVariable(name); if (value != null) { if (target == null) target = new VariableMapperImpl(); target.setVariable(name, value); } return value; }
public EvalClosure(EvaluationContext context, ELNode node) { this.context = context; this.node = node; this.fm = context.getFunctionMapper(); this.vm = null; // build it on demand }