Class CardWeaver
java.lang.Object
com.robinloom.jweaver.card.CardWeaver
- All Implemented Interfaces:
Weaver
CardWeaver depicts a given object as a framed card
with aligned key-value pairs inside a box.
This representation focuses on clarity and aesthetics,
making it well-suited for logs, debug output, or summaries.
Example:
╭ User ───────────────╮ │ name : Alice │ │ age : 28 │ │ email : alice@a.com │ ╰─────────────────────╯
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
history
-
-
Constructor Details
-
CardWeaver
public CardWeaver()
-
-
Method Details
-
weave
-
weave
Generates a string representation of the given object via reflections. Prints the class name followed by every accessible field in an ordered structure resembling a business card. For JDK classes, a regulartoString()result is returned. Detects reciprocal and circular object dependencies.
-