Class ToStringHelper

  • Direct Known Subclasses:
    ToStringHelper

    @Beta
    @Deprecated
    public class ToStringHelper
    extends java.lang.Object
    Deprecated.
    A helper class to assist construction of proper Object.toString() implementation for value objects.
    Since:
    2.3
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String toString​(java.lang.Object obj)
      Deprecated.
      use new ToStringBuilder().addAllFields().toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToStringHelper

        @Deprecated
        public ToStringHelper()
        Deprecated.
    • Method Detail

      • toString

        @Deprecated
        public java.lang.String toString​(java.lang.Object obj)
        Deprecated.
        use new ToStringBuilder().addAllFields().toString()
        Creates a string representation of the given object by listing the internal state of all fields.
        Parameters:
        obj - the object that should be printed.
        Returns:
        the string representation. Never null.