public Object getObjectValueForDisplay(Object value) {
    if (value == null) return null;
    // currently everything converted to string, expanded if it is a "done" future
    if (value instanceof Future) {
      if (((Future<?>) value).isDone()) {
        try {
          value = ((Future<?>) value).get();
        } catch (Exception e) {
          value = "" + value + " (error evaluating: " + e + ")";
        }
      }
    }

    if (TypeCoercions.isPrimitiveOrBoxer(value.getClass())) return value;
    return value.toString();
  }
 protected boolean isInlineableType(Class<?> type) {
   return TypeCoercions.isPrimitiveOrBoxer(type) || String.class.equals(type) || type.isEnum();
 }