diff options
author | Emil Lundberg <emil@yubico.com> | 2019-01-08 13:59:20 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-01-15 00:00:19 +0100 |
commit | 514e89eafc991c146f95029411827e97389b765e (patch) | |
tree | 3962aa6ca28bb8a8341b8161a906e926211e1cbf /test/transform/resource/after-ecj | |
parent | 6dfbbe68b47356e24eb95e795fa764caca5e605e (diff) | |
download | lombok-514e89eafc991c146f95029411827e97389b765e.tar.gz lombok-514e89eafc991c146f95029411827e97389b765e.tar.bz2 lombok-514e89eafc991c146f95029411827e97389b765e.zip |
Replace SetterWitherJavadocParamCopy with SetterAndWitherJavadoc
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/SetterAndWitherJavadoc.java | 22 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/SetterWitherJavadocParamCopy.java | 13 |
2 files changed, 22 insertions, 13 deletions
diff --git a/test/transform/resource/after-ecj/SetterAndWitherJavadoc.java b/test/transform/resource/after-ecj/SetterAndWitherJavadoc.java new file mode 100644 index 00000000..623277a0 --- /dev/null +++ b/test/transform/resource/after-ecj/SetterAndWitherJavadoc.java @@ -0,0 +1,22 @@ +import lombok.experimental.Wither; +class SetterAndWitherJavadoc { + @lombok.Setter @lombok.experimental.Wither int i; + @lombok.Setter @lombok.experimental.Wither int j; + SetterAndWitherJavadoc(int i, int j) { + super(); + this.i = i; + this.j = j; + } + public @java.lang.SuppressWarnings("all") void setI(final int i) { + this.i = i; + } + public @java.lang.SuppressWarnings("all") SetterAndWitherJavadoc withI(final int i) { + return ((this.i == i) ? this : new SetterAndWitherJavadoc(i, this.j)); + } + public @java.lang.SuppressWarnings("all") void setJ(final int j) { + this.j = j; + } + public @java.lang.SuppressWarnings("all") SetterAndWitherJavadoc withJ(final int j) { + return ((this.j == j) ? this : new SetterAndWitherJavadoc(this.i, j)); + } +} diff --git a/test/transform/resource/after-ecj/SetterWitherJavadocParamCopy.java b/test/transform/resource/after-ecj/SetterWitherJavadocParamCopy.java deleted file mode 100644 index 741342f7..00000000 --- a/test/transform/resource/after-ecj/SetterWitherJavadocParamCopy.java +++ /dev/null @@ -1,13 +0,0 @@ -class SetterWitherJavadocParamCopy { - private @lombok.Setter @lombok.experimental.Wither int fieldName; - public SetterWitherJavadocParamCopy(int f) { - super(); - this.fieldName = f; - } - public @java.lang.SuppressWarnings("all") void setFieldName(final int fieldName) { - this.fieldName = fieldName; - } - public @java.lang.SuppressWarnings("all") SetterWitherJavadocParamCopy withFieldName(final int fieldName) { - return ((this.fieldName == fieldName) ? this : new SetterWitherJavadocParamCopy(fieldName)); - } -} |