code: public Expression createExpression(final String expression, final Class expectedType) {
          val parserContext = new FluentParserContext().expectResult(expectedType);
          return getSpringExpressionParser().parseExpression(expression, parserContext);
      }
docs: Create expression expression.
  
  @param expression   the expression
  @param expectedType the expected type
  @return the expression