Annotation Type ToString.Include
-
Optional Element Summary
-
Element Details
-
rank
int rankHigher ranks are printed first. Members of the same rank are printed in the order they appear in the source file.- Returns:
- ordering within the generating
toString()
; higher numbers are printed first.
- Default:
0
-
name
String nameDefaults 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:
""
-