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-ecj | |
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-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/ToStringConfiguration.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ToStringConfiguration.java b/test/transform/resource/after-ecj/ToStringConfiguration.java new file mode 100644 index 00000000..8bb99146 --- /dev/null +++ b/test/transform/resource/after-ecj/ToStringConfiguration.java @@ -0,0 +1,35 @@ +import lombok.ToString; +import lombok.Getter; +@ToString @Getter class ToStringConfiguration { + int x; + ToStringConfiguration() { + super(); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("ToStringConfiguration(" + this.x) + ")"); + } + public @java.lang.SuppressWarnings("all") int getX() { + return this.x; + } +} +@ToString(includeFieldNames = true) class ToStringConfiguration2 { + int x; + ToStringConfiguration2() { + super(); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("ToStringConfiguration2(x=" + this.x) + ")"); + } +} +@ToString(doNotUseGetters = false) @Getter class ToStringConfiguration3 { + int x; + ToStringConfiguration3() { + super(); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (("ToStringConfiguration3(" + this.getX()) + ")"); + } + public @java.lang.SuppressWarnings("all") int getX() { + return this.x; + } +}
\ No newline at end of file |