Transient fields should by default be excluded from equals and hashCode. Fixes #1724

This commit is contained in:
Roel Spilker
2018-06-18 23:46:42 +02:00
parent 2264ce492c
commit f241ef8c30
7 changed files with 207 additions and 3 deletions
@@ -0,0 +1,13 @@
@lombok.ToString
class ToStringAutoExclude {
int x;
String $a;
transient String b;
}
@lombok.ToString
class ToStringAutoExclude2 {
int x;
@lombok.ToString.Include
String $a;
transient String b;
}