public final class Presets
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Preset |
APACHE_TO_STRING_BUILDER_DEFAULT_STYLE
Pre-set for testing toString generated using Apache's ToStringBuilder using the ToStringStyle.DEFAULT_STYLE.
|
static Preset |
APACHE_TO_STRING_BUILDER_JSON_STYLE
Pre-set for testing toString generated using Apache's ToStringBuilder using the ToStringStyle.JSON_STYLE.
|
static Preset |
APACHE_TO_STRING_BUILDER_MULTI_LINE_STYLE
Pre-set for testing toString generated using Apache's ToStringBuilder using the ToStringStyle.MULTI_LINE_STYLE.
|
static Preset |
APACHE_TO_STRING_BUILDER_NO_CLASS_NAME_STYLE
Pre-set for testing toString generated using Apache's ToStringBuilder using the ToStringStyle.NO_CLASS_NAME_STYLE.
|
static Preset |
APACHE_TO_STRING_BUILDER_SHORT_PREFIX_STYLE
Pre-set for testing toString generated using Apache's ToStringBuilder using the ToStringStyle.SHORT_PREFIX_STYLE.
|
static Preset |
ECLIPSE
Pre-set for testing toString generated using the Eclipse IDE.
|
static Preset |
GUAVA_TO_STRING_HELPER
Pre-set for testing toString generated using Guava's MoreObjects.toStringHelper(...).
|
static Preset |
INTELLI_J
Pre-set for testing toString generated using the IntelliJ IDE.
|
public static Preset APACHE_TO_STRING_BUILDER_JSON_STYLE
{"firstName": "John", "lastName": "Smith"}
public static Preset APACHE_TO_STRING_BUILDER_NO_CLASS_NAME_STYLE
[firstName=John,lastName=Smith]
public static Preset APACHE_TO_STRING_BUILDER_DEFAULT_STYLE
com.package.Person@7e0babb1[firstName=John,lastName=Smith]
public static Preset APACHE_TO_STRING_BUILDER_MULTI_LINE_STYLE
com.package.Person@7e0babb1[
firstName=John
lastName=Smith
]
public static Preset APACHE_TO_STRING_BUILDER_SHORT_PREFIX_STYLE
Person[firstName=John,lastName=Smith]
public static Preset ECLIPSE
Person [firstName=John, lastName=Smith]
public static Preset INTELLI_J
Person{firstName='John', lastName='Smith'}
public static Preset GUAVA_TO_STRING_HELPER
Person{firstName=John, lastName=Smith}