aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-12-11 01:59:05 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-12-11 01:59:05 +0100
commitf8ecfafbcd30fdbb3b94a4b0bd1dd50fcf4e4b9e (patch)
tree0a4598d5e68232dc95aea8e58e8837088abc9462 /test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
parentad2cc23d2cc6b47c1453122505a3e589c3c0668f (diff)
parent870937a46f912592206abda57638d142ae81e763 (diff)
downloadlombok-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/BuilderWithAccessorsWithSetterPrefix.java')
-rw-r--r--test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java60
1 files changed, 60 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
new file mode 100644
index 00000000..45a79fdc
--- /dev/null
+++ b/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
@@ -0,0 +1,60 @@
+class BuilderWithAccessorsWithSetterPrefix {
+ private final int plower;
+ private final int pUpper;
+ private int _foo;
+ private int __bar;
+ @java.lang.SuppressWarnings("all")
+ BuilderWithAccessorsWithSetterPrefix(final int plower, final int upper, final int foo, final int _bar) {
+ this.plower = plower;
+ this.pUpper = upper;
+ this._foo = foo;
+ this.__bar = _bar;
+ }
+ @java.lang.SuppressWarnings("all")
+ public static class BuilderWithAccessorsWithSetterPrefixBuilder {
+ @java.lang.SuppressWarnings("all")
+ private int plower;
+ @java.lang.SuppressWarnings("all")
+ private int upper;
+ @java.lang.SuppressWarnings("all")
+ private int foo;
+ @java.lang.SuppressWarnings("all")
+ private int _bar;
+ @java.lang.SuppressWarnings("all")
+ BuilderWithAccessorsWithSetterPrefixBuilder() {
+ }
+ @java.lang.SuppressWarnings("all")
+ public BuilderWithAccessorsWithSetterPrefixBuilder withPlower(final int plower) {
+ this.plower = plower;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ public BuilderWithAccessorsWithSetterPrefixBuilder withUpper(final int upper) {
+ this.upper = upper;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ public BuilderWithAccessorsWithSetterPrefixBuilder withFoo(final int foo) {
+ this.foo = foo;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ public BuilderWithAccessorsWithSetterPrefixBuilder with_bar(final int _bar) {
+ this._bar = _bar;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ public BuilderWithAccessorsWithSetterPrefix build() {
+ return new BuilderWithAccessorsWithSetterPrefix(plower, upper, foo, _bar);
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ public java.lang.String toString() {
+ return "BuilderWithAccessorsWithSetterPrefix.BuilderWithAccessorsWithSetterPrefixBuilder(plower=" + this.plower + ", upper=" + this.upper + ", foo=" + this.foo + ", _bar=" + this._bar + ")";
+ }
+ }
+ @java.lang.SuppressWarnings("all")
+ public static BuilderWithAccessorsWithSetterPrefixBuilder builder() {
+ return new BuilderWithAccessorsWithSetterPrefixBuilder();
+ }
+}