aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-24 03:07:14 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-01-24 03:07:14 +0100
commitbf8b93701a8527dfc7f82d51d4ac22693b70c95c (patch)
tree96449247bcf26d6603ea474e933661e148a4a681 /test/transform/resource/before
parent2242de2bf9886fc80858486bbb3aa171a5496885 (diff)
downloadlombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.tar.gz
lombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.tar.bz2
lombok-bf8b93701a8527dfc7f82d51d4ac22693b70c95c.zip
Added test for @Getter(AccessLevel.NONE)
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/DelegateOnGetterNone.java14
-rw-r--r--test/transform/resource/before/GetterNone.java8
2 files changed, 22 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateOnGetterNone.java b/test/transform/resource/before/DelegateOnGetterNone.java
new file mode 100644
index 00000000..f9642e6b
--- /dev/null
+++ b/test/transform/resource/before/DelegateOnGetterNone.java
@@ -0,0 +1,14 @@
+import lombok.AccessLevel;
+import lombok.Delegate;
+import lombok.Getter;
+
+@Getter
+class DelegateOnGetterNone {
+
+ @Delegate @Getter(AccessLevel.NONE) private final Bar bar;
+
+ private interface Bar {
+ void setList(java.util.ArrayList<java.lang.String> list);
+ int getInt();
+ }
+}
diff --git a/test/transform/resource/before/GetterNone.java b/test/transform/resource/before/GetterNone.java
new file mode 100644
index 00000000..8497e4fc
--- /dev/null
+++ b/test/transform/resource/before/GetterNone.java
@@ -0,0 +1,8 @@
+import lombok.AccessLevel;
+import lombok.Getter;
+
+@Getter
+class GetterNone {
+ int i;
+ @Getter(AccessLevel.NONE) int foo;
+} \ No newline at end of file