| Package | Description |
|---|---|
| org.eclipse.lemminx.utils |
| Modifier and Type | Method and Description |
|---|---|
ToStringBuilder |
ToStringBuilder.add(Object value) |
ToStringBuilder |
ToStringBuilder.add(String fieldName,
Object value) |
ToStringBuilder |
ToStringBuilder.addAllFields()
Adds all fields declared in the object's class and its superclasses to the output.
|
ToStringBuilder |
ToStringBuilder.addAllFields(Predicate<Field> condition)
Adds all fields declared in the object's class and its superclasses
that satisfy the given condition to the output.
|
ToStringBuilder |
ToStringBuilder.addDeclaredFields()
Adds all fields declared directly in the object's class to the output
|
ToStringBuilder |
ToStringBuilder.addDeclaredFields(Predicate<Field> condition)
Adds all fields declared directly in the object's class
that satisfy the given condition to the output
|
ToStringBuilder |
ToStringBuilder.addField(String fieldName) |
ToStringBuilder |
ToStringBuilder.hideFieldNames()
Field names will not be included in the output.
|
ToStringBuilder |
ToStringBuilder.singleLine()
Fields are printed on a single line, separated by commas instead of newlines
|
ToStringBuilder |
ToStringBuilder.skipNulls()
Fields with null values will be excluded from the output
|
ToStringBuilder |
ToStringBuilder.verbatimValues()
By default, Iterables, Arrays and multiline Strings are pretty-printed.
|
Copyright © 2024. All rights reserved.