creates an instance of tostringhelper . this is helpful for implementing object #tostring . specification by example : / / returns `` classname '' moreobjects.tostringhelper this . tostring ; / / returns `` classname x = 1 '' moreobjects.tostringhelper this . add `` x '' , 1 . tostring ; / / returns `` myobject x = 1 '' moreobjects.tostringhelper `` myobject '' . add `` x '' , 1 . tostring ; / / returns `` classname x = 1 , y = foo '' moreobjects.tostringhelper this . add `` x '' , 1 . add `` y '' , `` foo '' . tostring ; / / returns `` classname x = 1 '' moreobjects.tostringhelper this . omitnullvalues . add `` x '' , 1 . add `` y '' , null . tostring ; note that in gwt , class names are often obfuscated . concode_field_sep ValueHolder next concode_elem_sep ValueHolder holderTail concode_elem_sep String name concode_elem_sep String className concode_elem_sep boolean omitNullValues concode_elem_sep ValueHolder holderHead concode_elem_sep Object value concode_field_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper add concode_elem_sep ToStringHelper omitNullValues concode_elem_sep ValueHolder addHolder concode_elem_sep ToStringHelper addHolder concode_elem_sep ToStringHelper addHolder concode_elem_sep T firstNonNull concode_elem_sep String toString concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue concode_elem_sep ToStringHelper addValue
ToStringHelper function ( Object arg0 ) { return new ToStringHelper ( arg0 . getClass ( ) . getSimpleName ( ) ) ; }