aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/AccessorsMakeFinal.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-02-08 06:02:05 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-02-08 06:02:05 +0100
commit261758b4448b3d48ff2f48926ffcb8ea66121603 (patch)
tree1996f090ab62b3626fe875406a294e724ad94a12 /test/transform/resource/after-ecj/AccessorsMakeFinal.java
parent8a914b1bf0eaa13178e719431add47b78d4e7277 (diff)
downloadlombok-261758b4448b3d48ff2f48926ffcb8ea66121603.tar.gz
lombok-261758b4448b3d48ff2f48926ffcb8ea66121603.tar.bz2
lombok-261758b4448b3d48ff2f48926ffcb8ea66121603.zip
[implements #1456] accessors can now be made final via `@Accessors`.
Diffstat (limited to 'test/transform/resource/after-ecj/AccessorsMakeFinal.java')
-rw-r--r--test/transform/resource/after-ecj/AccessorsMakeFinal.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/AccessorsMakeFinal.java b/test/transform/resource/after-ecj/AccessorsMakeFinal.java
new file mode 100644
index 00000000..c8ac4bbd
--- /dev/null
+++ b/test/transform/resource/after-ecj/AccessorsMakeFinal.java
@@ -0,0 +1,13 @@
+@lombok.experimental.Accessors(makeFinal = true) class AccessorsMakeFinal1 {
+ private @lombok.Setter @lombok.experimental.Accessors(fluent = true) String test;
+ AccessorsMakeFinal1() {
+ super();
+ }
+ /**
+ * @return {@code this}.
+ */
+ public final @java.lang.SuppressWarnings("all") AccessorsMakeFinal1 test(final String test) {
+ this.test = test;
+ return this;
+ }
+} \ No newline at end of file