Annotation Type ToStringPlugin.Enhance
- Enclosing class:
ToStringPlugin
Instructs the
ToStringPlugin to generate a Object.toString() method for the annotated class unless this method
is already declared explicitly.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA strategy for defining a prefix. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDetermines if synthetic fields should be included in the string representation.Determines the prefix to be used for the string representation prior to adding field values.
-
Element Details
-
prefix
Determines the prefix to be used for the string representation prior to adding field values.- Returns:
- The prefix to use.
- Default:
SIMPLE
-
includeSyntheticFields
boolean includeSyntheticFieldsDetermines if synthetic fields should be included in the string representation.- Returns:
trueif synthetic fields should be included.
- Default:
false
-