Class ToStringHelper

    • Method Detail

      • render

        public static String render​(Object o)
        Returns o.toString() unless it throws an exception (which causes it to be stored in unrenderableClasses) or already was present in unrenderableClasses. If so, the same string is returned as would have been returned by Object.toString(). Arrays get special treatment as they don't have usable toString methods.
        o - incoming object to render.