class BeanExpander extends MapExpander {

  @Override
  public String expand(ExpressionVariable variable, Object value) {
    Map<String, Object> beanValueMap;
    try {
      beanValueMap = new LinkedHashMap<>(this.expandBean(variable, null, value));
    } catch (Exception ex) {
      throw new IllegalStateException("Error occurred expanding Bean "
          + value.getClass().getSimpleName() + ".  " + ex.getMessage(), ex);
    }
    return super.expand(variable, beanValueMap);
  }

    BeanExpander(ExpanderRegistry expanderRegistry);

}