diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-01-24 03:07:14 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-01-24 03:07:14 +0100 |
commit | bf8b93701a8527dfc7f82d51d4ac22693b70c95c (patch) | |
tree | 96449247bcf26d6603ea474e933661e148a4a681 /test/transform/resource/after-delombok | |
parent | 2242de2bf9886fc80858486bbb3aa171a5496885 (diff) | |
download | lombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.tar.gz lombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.tar.bz2 lombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.zip |
Added test for @Getter(AccessLevel.NONE)
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/DelegateOnGetterNone.java | 15 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/GetterNone.java | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/DelegateOnGetterNone.java b/test/transform/resource/after-delombok/DelegateOnGetterNone.java new file mode 100644 index 00000000..b3258f25 --- /dev/null +++ b/test/transform/resource/after-delombok/DelegateOnGetterNone.java @@ -0,0 +1,15 @@ +class DelegateOnGetterNone { + private final Bar bar; + private interface Bar { + void setList(java.util.ArrayList<java.lang.String> list); + int getInt(); + } + @java.lang.SuppressWarnings("all") + public void setList(final java.util.ArrayList<java.lang.String> list) { + this.bar.setList(list); + } + @java.lang.SuppressWarnings("all") + public int getInt() { + return this.bar.getInt(); + } +}
\ No newline at end of file diff --git a/test/transform/resource/after-delombok/GetterNone.java b/test/transform/resource/after-delombok/GetterNone.java new file mode 100644 index 00000000..11b4fd09 --- /dev/null +++ b/test/transform/resource/after-delombok/GetterNone.java @@ -0,0 +1,8 @@ +class GetterNone { + int i; + int foo; + @java.lang.SuppressWarnings("all") + public int getI() { + return this.i; + } +}
\ No newline at end of file |