Package lombok
Annotation Type ToString.Include
-
@Target({FIELD,METHOD}) @Retention(SOURCE) public static @interface ToString.IncludeConfigure the behaviour of how this member is rendered in thetoString; if on a method, include the method's return value in the output.
-
-
-
name
java.lang.String name
Defaults to the field / method name of the annotated member. If the name equals the name of a default-included field, this member takes its place.- Returns:
- The name to show in the generated
toString(). Also, if this annotation is on a method and the name matches an existing field, it replaces that field.
- Default:
- ""
-
-