java.lang.Object
org.eclipse.xtext.xbase.lib.util.ToStringHelper
- Direct Known Subclasses:
ToStringHelper
Deprecated.
A helper class to assist construction of proper
Object.toString() implementation for value objects.- Since:
- 2.3
- Author:
- Sven Efftinge - Initial contribution and API
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ToStringHelper
Deprecated.useToStringBuilder
-
-
Method Details
-
toString
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.
-
ToStringBuilder