diff options
| author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-04-23 23:43:15 +0200 |
|---|---|---|
| committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-05-14 22:03:46 +0200 |
| commit | ad21a1573bab57c63ffd5b9867f8e19ac7f0c94b (patch) | |
| tree | 6aeb4aff3490999ff799374cf9cbbbc33a5d03c5 /test/transform/resource/after-delombok | |
| parent | 82a7354a848a26021afd3a889cefd65db7693eb9 (diff) | |
| download | lombok-ad21a1573bab57c63ffd5b9867f8e19ac7f0c94b.tar.gz lombok-ad21a1573bab57c63ffd5b9867f8e19ac7f0c94b.tar.bz2 lombok-ad21a1573bab57c63ffd5b9867f8e19ac7f0c94b.zip | |
[annotation based ToString] hey.. we have annotation based ToString now, where you can include/exclude fields by annotating the fields.
Diffstat (limited to 'test/transform/resource/after-delombok')
| -rw-r--r-- | test/transform/resource/after-delombok/ToStringNewStyle.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ToStringNewStyle.java b/test/transform/resource/after-delombok/ToStringNewStyle.java new file mode 100644 index 00000000..0a54bd24 --- /dev/null +++ b/test/transform/resource/after-delombok/ToStringNewStyle.java @@ -0,0 +1,18 @@ +public class ToStringNewStyle { + int b; + double c; + int f; + int d; + int f() { + return 0; + } + int g; + int h; + int i; + int j; + @java.lang.Override + @java.lang.SuppressWarnings("all") + public java.lang.String toString() { + return "ToStringNewStyle(a=" + this.b + ", c=" + this.c + ", e=" + this.d + ", f=" + this.f() + ", g=" + this.g + ", i=" + this.i + ", h=" + this.h + ")"; + } +} |
