code: public static String displayWithTypes(Object object) {
          StringBuilder builder = new StringBuilder();
          displayRecursive(object, builder, new Stack<>(), true);
          return builder.toString();
      }
docs: Displays the given object including type information.
  @param object The object to display
  @return The string that displays the given object