diff options
author | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-12 11:27:08 -0500 |
---|---|---|
committer | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-12 11:28:20 -0500 |
commit | 36287f2ff9ed2f809f8c1c76155919417ad04d3c (patch) | |
tree | 45f5e4da4216d95bf36935c699495a8850ae61b1 /test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java | |
parent | cc070254a68331c2593c37359921854c74692661 (diff) | |
download | lombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.tar.gz lombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.tar.bz2 lombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.zip |
Duplicate builder tests with setter prefix
Diffstat (limited to 'test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java b/test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java new file mode 100644 index 00000000..465517f7 --- /dev/null +++ b/test/transform/resource/after-ecj/BuilderWithBadNamesWithSetterPrefix.java @@ -0,0 +1,33 @@ +public @lombok.Builder(setterPrefix = "with") class BuilderWithBadNames { + public static @java.lang.SuppressWarnings("all") class BuilderWithBadNamesBuilder { + private @java.lang.SuppressWarnings("all") String build; + private @java.lang.SuppressWarnings("all") String toString; + @java.lang.SuppressWarnings("all") BuilderWithBadNamesBuilder() { + super(); + } + public @java.lang.SuppressWarnings("all") BuilderWithBadNamesBuilder withBuild(final String build) { + this.build = build; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderWithBadNamesBuilder withToString(final String toString) { + this.toString = toString; + return this; + } + public @java.lang.SuppressWarnings("all") BuilderWithBadNames build() { + return new BuilderWithBadNames(build, toString); + } + public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { + return (((("BuilderWithBadNames.BuilderWithBadNamesBuilder(build=" + this.build) + ", toString=") + this.toString) + ")"); + } + } + String build; + String toString; + @java.lang.SuppressWarnings("all") BuilderWithBadNames(final String build, final String toString) { + super(); + this.build = build; + this.toString = toString; + } + public static @java.lang.SuppressWarnings("all") BuilderWithBadNamesBuilder builder() { + return new BuilderWithBadNamesBuilder(); + } +} |