aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SetterAndWithMethodJavadoc.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-26 21:41:10 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-08-27 00:15:47 +0200
commitc11edbf032ce27e448faa00d37245665942095af (patch)
tree78a08bd85b134c6846389cae2abdd7de0950db77 /test/transform/resource/before/SetterAndWithMethodJavadoc.java
parent7bf70ed638fac701c60e2fb29217af7c38056a8c (diff)
downloadlombok-c11edbf032ce27e448faa00d37245665942095af.tar.gz
lombok-c11edbf032ce27e448faa00d37245665942095af.tar.bz2
lombok-c11edbf032ce27e448faa00d37245665942095af.zip
[With] renaming lombok.experimental.Wither to lombok.experimental.With
Diffstat (limited to 'test/transform/resource/before/SetterAndWithMethodJavadoc.java')
-rw-r--r--test/transform/resource/before/SetterAndWithMethodJavadoc.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/transform/resource/before/SetterAndWithMethodJavadoc.java b/test/transform/resource/before/SetterAndWithMethodJavadoc.java
new file mode 100644
index 00000000..ba10b7f2
--- /dev/null
+++ b/test/transform/resource/before/SetterAndWithMethodJavadoc.java
@@ -0,0 +1,26 @@
+import lombok.With;
+class SetterAndWithMethodJavadoc {
+ /**
+ * Some value.
+ * @param the new value
+ */
+ @lombok.Setter @lombok.With int i;
+
+ /**
+ * Some other value.
+ *
+ * --- SETTER ---
+ * Set some other value.
+ * @param the new other value
+ *
+ * --- WITH ---
+ * Reinstantiate with some other value.
+ * @param the other new other value
+ */
+ @lombok.Setter @lombok.With int j;
+
+ SetterAndWithMethodJavadoc(int i, int j) {
+ this.i = i;
+ this.j = j;
+ }
+}