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/before | |
| 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/before')
| -rw-r--r-- | test/transform/resource/before/SetterAndWitherJavadoc.java | 26 | ||||
| -rw-r--r-- | test/transform/resource/before/SetterWitherJavadocParamCopy.java | 16 |
2 files changed, 26 insertions, 16 deletions
diff --git a/test/transform/resource/before/SetterAndWitherJavadoc.java b/test/transform/resource/before/SetterAndWitherJavadoc.java new file mode 100644 index 00000000..6953eb39 --- /dev/null +++ b/test/transform/resource/before/SetterAndWitherJavadoc.java @@ -0,0 +1,26 @@ +import lombok.experimental.Wither; +class SetterAndWitherJavadoc { + /** + * Some value. + * @param the new value + */ + @lombok.Setter @lombok.experimental.Wither int i; + + /** + * Some other value. + * + * --- SETTER --- + * Set some other value. + * @param the new other value + * + * --- WITHER --- + * Reinstantiate with some other value. + * @param the other new other value + */ + @lombok.Setter @lombok.experimental.Wither int j; + + SetterAndWitherJavadoc(int i, int j) { + this.i = i; + this.j = j; + } +} diff --git a/test/transform/resource/before/SetterWitherJavadocParamCopy.java b/test/transform/resource/before/SetterWitherJavadocParamCopy.java deleted file mode 100644 index 4de091e2..00000000 --- a/test/transform/resource/before/SetterWitherJavadocParamCopy.java +++ /dev/null @@ -1,16 +0,0 @@ -class SetterWitherJavadocParamCopy { - /** - * Some text - * - * @param fieldName Hello, World1 - * --- GETTER --- - * Getter section - * - * @return Sky is blue1 - */ - @lombok.Setter @lombok.experimental.Wither private int fieldName; - - public SetterWitherJavadocParamCopy(int f) { - this.fieldName = f; - } -} |
