aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SuperBuilderCustomized.java
diff options
context:
space:
mode:
authorJan Rieke <it@janrieke.de>2020-02-07 14:28:46 +0100
committerJan Rieke <it@janrieke.de>2020-02-08 16:09:56 +0100
commit6e2d23fdd7613de9650ffaf00c6e24a6ead0d74b (patch)
treea68700c831edbf056fa1f8773e7ef9c941eab982 /test/transform/resource/after-delombok/SuperBuilderCustomized.java
parentcf4e59662a8aac42beee50d2fc28487b7aaf9ea6 (diff)
downloadlombok-6e2d23fdd7613de9650ffaf00c6e24a6ead0d74b.tar.gz
lombok-6e2d23fdd7613de9650ffaf00c6e24a6ead0d74b.tar.bz2
lombok-6e2d23fdd7613de9650ffaf00c6e24a6ead0d74b.zip
setter prefixes for SuperBuilder
setter prefixes for SuperBuilder [javac] better javadoc for the SuperBuilder setterPrefix value setter prefixes for SuperBuilder [ecj] add test for SuperBuilder setter method customization fix setter method customization with setterPrefix
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderCustomized.java')
-rw-r--r--test/transform/resource/after-delombok/SuperBuilderCustomized.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderCustomized.java b/test/transform/resource/after-delombok/SuperBuilderCustomized.java
index e8f95407..bffa72fa 100644
--- a/test/transform/resource/after-delombok/SuperBuilderCustomized.java
+++ b/test/transform/resource/after-delombok/SuperBuilderCustomized.java
@@ -8,15 +8,14 @@ public class SuperBuilderCustomized {
field1 = 0;
return self();
}
+ public B field1(int field1) {
+ this.field1 = field1 + 1;
+ return self();
+ }
@java.lang.SuppressWarnings("all")
protected abstract B self();
@java.lang.SuppressWarnings("all")
public abstract C build();
- @java.lang.SuppressWarnings("all")
- public B field1(final int field1) {
- this.field1 = field1;
- return self();
- }
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {