Package org.eclipse.xtext.xbase.lib.util
Class ToStringHelper
- java.lang.Object
-
- org.eclipse.xtext.xbase.lib.util.ToStringHelper
-
- Direct Known Subclasses:
ToStringHelper
@Beta @Deprecated public class ToStringHelper extends java.lang.Object
Deprecated.useToStringBuilder
A helper class to assist construction of properObject.toString()
implementation for value objects.- Since:
- 2.3
-
-
Constructor Summary
Constructors Constructor Description ToStringHelper()
Deprecated.useToStringBuilder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
toString(java.lang.Object obj)
Deprecated.usenew ToStringBuilder().addAllFields().toString()
-
-
-
Constructor Detail
-
ToStringHelper
@Deprecated public ToStringHelper()
Deprecated.useToStringBuilder
-
-
Method Detail
-
toString
@Deprecated public java.lang.String toString(java.lang.Object obj)
Deprecated.usenew 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
.
-
-