public static interface ToString.Configuration
ToString.Printer
to know how to build the String representation of an object.| Modifier and Type | Interface and Description |
|---|---|
static class |
ToString.Configuration.Field
Represents a field to be displayed
in the resulting
String. |
| Modifier and Type | Method and Description |
|---|---|
String |
customClassName()
Custom text to use instead of the target class name.
|
Iterable<ToString.Configuration.Field> |
fields()
List of fields to be printed.
|
boolean |
fullClassPath()
Tells to the
ToString.Printer
to use the fully qualified class name. |
Object |
target()
Returns the object of which to build
the
String representation. |
Object target()
String representation.Iterable<ToString.Configuration.Field> fields()
boolean fullClassPath()
ToString.Printer
to use the fully qualified class name.true if the class name
should be fully qualified.String customClassName()
Copyright © 2011–2020 Nerd4j. All rights reserved.