Class LinearWeaver
java.lang.Object
com.robinloom.jweaver.linear.LinearWeaver
- All Implemented Interfaces:
Weaver
LinearWeaver generates a string representation for a given object by combining
the object information (class name, field names, values) with a set of separator strings.
The set of separator strings is dynamically configurable.
Example:
Person[name=John Doe, birthday=1990-01-01]
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
history
-
-
Constructor Details
-
LinearWeaver
public LinearWeaver()
-
-
Method Details
-
weave
-
weave
Generates a string representation of the given object via reflections. Prints the class name followed by every accessible field. For JDK classes, a regulartoString()result is returned. Detects reciprocal and circular object dependencies.
-