diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-02-08 06:02:05 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2022-02-08 06:02:05 +0100 |
commit | 261758b4448b3d48ff2f48926ffcb8ea66121603 (patch) | |
tree | 1996f090ab62b3626fe875406a294e724ad94a12 /test/transform/resource/after-delombok/AccessorsNoParamWarning.java | |
parent | 8a914b1bf0eaa13178e719431add47b78d4e7277 (diff) | |
download | lombok-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-delombok/AccessorsNoParamWarning.java')
-rw-r--r-- | test/transform/resource/after-delombok/AccessorsNoParamWarning.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/AccessorsNoParamWarning.java b/test/transform/resource/after-delombok/AccessorsNoParamWarning.java new file mode 100644 index 00000000..3e9c4c5f --- /dev/null +++ b/test/transform/resource/after-delombok/AccessorsNoParamWarning.java @@ -0,0 +1,14 @@ +class AccessorsNoParams { + private String otherFieldWithOverride = ""; + @java.lang.SuppressWarnings("all") + public String otherFieldWithOverride() { + return this.otherFieldWithOverride; + } +} +class AccessorsNoParams2 { + private boolean foo; + @java.lang.SuppressWarnings("all") + public void setFoo(final boolean foo) { + this.foo = foo; + } +}
\ No newline at end of file |