@Override public Object get(Map<String, Object> model) { if(model == null) return lookupInFunctions(); Object localFunction = model.get(functionName); if (localFunction != null && localFunction instanceof Expression) { return localFunction; } else { return lookupInFunctions(); } }
thatObject = new ClosureLookup(functionName, functions); exp = exp.substring(functionName.length());
thatObject = new ClosureLookup(functionName, functions); exp = exp.substring(functionName.length());
@Override public Object get(Map<String, Object> model) { if(model == null) return lookupInFunctions(); Object localFunction = model.get(functionName); if (localFunction != null && localFunction instanceof Expression) { return localFunction; } else { return lookupInFunctions(); } }