diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-12-11 01:59:05 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-12-11 01:59:05 +0100 |
commit | f8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e (patch) | |
tree | 0a4598d5e68232dc95aea8e58e8837088abc9462 /test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java | |
parent | ad2cc23d2cc6b47c1453122505a3e589c3c0668f (diff) | |
parent | 870937a46f912592206abda57638d142ae81e763 (diff) | |
download | lombok-f8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e.tar.gz lombok-f8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e.tar.bz2 lombok-f8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e.zip |
Merge branch 'floralvikings-feature/builder-setter-prefixes'
Diffstat (limited to 'test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java new file mode 100644 index 00000000..0f478ed1 --- /dev/null +++ b/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java @@ -0,0 +1,33 @@ +class BuilderWithNoBuilderMethodWithSetterPrefix { + private String a = ""; + @java.lang.SuppressWarnings("all") + BuilderWithNoBuilderMethodWithSetterPrefix(final String a) { + this.a = a; + } + @java.lang.SuppressWarnings("all") + public static class BuilderWithNoBuilderMethodWithSetterPrefixBuilder { + @java.lang.SuppressWarnings("all") + private String a; + @java.lang.SuppressWarnings("all") + BuilderWithNoBuilderMethodWithSetterPrefixBuilder() { + } + @java.lang.SuppressWarnings("all") + public BuilderWithNoBuilderMethodWithSetterPrefixBuilder withA(final String a) { + this.a = a; + return this; + } + @java.lang.SuppressWarnings("all") + public BuilderWithNoBuilderMethodWithSetterPrefix build() { + return new BuilderWithNoBuilderMethodWithSetterPrefix(a); + } + @java.lang.Override + @java.lang.SuppressWarnings("all") + public java.lang.String toString() { + return "BuilderWithNoBuilderMethodWithSetterPrefix.BuilderWithNoBuilderMethodWithSetterPrefixBuilder(a=" + this.a + ")"; + } + } + @java.lang.SuppressWarnings("all") + public BuilderWithNoBuilderMethodWithSetterPrefixBuilder toBuilder() { + return new BuilderWithNoBuilderMethodWithSetterPrefixBuilder().withA(this.a); + } +} |