diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-02-06 23:30:32 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-02-06 23:30:32 +0100 |
commit | e5574133363c8b718329e07a73bf161416485da5 (patch) | |
tree | 87b213c904815ccbf41e8c9344d228406bd92dcd /test/transform/resource/after-delombok/ToStringConfiguration.java | |
parent | 143143276da646bcc9a195d827364f8499187a6a (diff) | |
download | lombok-e5574133363c8b718329e07a73bf161416485da5.tar.gz lombok-e5574133363c8b718329e07a73bf161416485da5.tar.bz2 lombok-e5574133363c8b718329e07a73bf161416485da5.zip |
[configuration] Added the configuration keys lombok.ToString.doNotUseGetters and lombok.ToString.includeFieldNames
Diffstat (limited to 'test/transform/resource/after-delombok/ToStringConfiguration.java')
-rw-r--r-- | test/transform/resource/after-delombok/ToStringConfiguration.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ToStringConfiguration.java b/test/transform/resource/after-delombok/ToStringConfiguration.java new file mode 100644 index 00000000..035ecdb2 --- /dev/null +++ b/test/transform/resource/after-delombok/ToStringConfiguration.java @@ -0,0 +1,32 @@ +class ToStringConfiguration { + int x; + @java.lang.Override + @java.lang.SuppressWarnings("all") + public java.lang.String toString() { + return "ToStringConfiguration(" + this.x + ")"; + } + @java.lang.SuppressWarnings("all") + public int getX() { + return this.x; + } +} +class ToStringConfiguration2 { + int x; + @java.lang.Override + @java.lang.SuppressWarnings("all") + public java.lang.String toString() { + return "ToStringConfiguration2(x=" + this.x + ")"; + } +} +class ToStringConfiguration3 { + int x; + @java.lang.Override + @java.lang.SuppressWarnings("all") + public java.lang.String toString() { + return "ToStringConfiguration3(" + this.getX() + ")"; + } + @java.lang.SuppressWarnings("all") + public int getX() { + return this.x; + } +}
\ No newline at end of file |