code: public Object eval(String expression, Entity entity, int depth) {
      return eval(createBindings(entity, depth), expression);
    }
docs: Evaluate a expression for a given entity.
  
  @param expression JavaScript expression
  @param entity entity
  @return evaluated expression result, return type depends on the expression.