diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-04-23 21:00:01 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-04-23 23:26:51 +0200 |
commit | b081e6c968817fe5df57b359ad04fc3f4580d38c (patch) | |
tree | c06d330da2236019197617befa4e73622644e02e /test/transform/resource/after-delombok | |
parent | a27826b268c28a7aa1596bb07461ab1cfb113d82 (diff) | |
download | lombok-b081e6c968817fe5df57b359ad04fc3f4580d38c.tar.gz lombok-b081e6c968817fe5df57b359ad04fc3f4580d38c.tar.bz2 lombok-b081e6c968817fe5df57b359ad04fc3f4580d38c.zip |
Allow onMethod and onParam in @Getter and @Setter if it is put on a type
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/GetterOnMethodErrors.java | 9 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/GetterOnMethodOnType.java | 14 |
2 files changed, 14 insertions, 9 deletions
diff --git a/test/transform/resource/after-delombok/GetterOnMethodErrors.java b/test/transform/resource/after-delombok/GetterOnMethodErrors.java deleted file mode 100644 index a69966ec..00000000 --- a/test/transform/resource/after-delombok/GetterOnMethodErrors.java +++ /dev/null @@ -1,9 +0,0 @@ -class PlaceFillerToMakeSurePositionIsRelevant { -} -class GetterOnMethodErrors { - private int test; - @java.lang.SuppressWarnings("all") - public int getTest() { - return this.test; - } -} diff --git a/test/transform/resource/after-delombok/GetterOnMethodOnType.java b/test/transform/resource/after-delombok/GetterOnMethodOnType.java new file mode 100644 index 00000000..625909c1 --- /dev/null +++ b/test/transform/resource/after-delombok/GetterOnMethodOnType.java @@ -0,0 +1,14 @@ +class GetterOnMethodOnType { + private int test; + private String name; + @Deprecated + @java.lang.SuppressWarnings("all") + public int getTest() { + return this.test; + } + @Deprecated + @java.lang.SuppressWarnings("all") + public String getName() { + return this.name; + } +} |