aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateOnGetter.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/DelegateOnGetter.java')
-rw-r--r--test/transform/resource/before/DelegateOnGetter.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateOnGetter.java b/test/transform/resource/before/DelegateOnGetter.java
new file mode 100644
index 00000000..afe09ff4
--- /dev/null
+++ b/test/transform/resource/before/DelegateOnGetter.java
@@ -0,0 +1,18 @@
+import lombok.Delegate;
+import lombok.Getter;
+
+class DelegateOnGetter {
+
+ @Delegate @Getter(lazy=true) private final Bar bar = new Bar() {
+ public void setList(java.util.ArrayList<String> list) {
+ }
+ public int getInt() {
+ return 42;
+ }
+ };
+
+ private interface Bar {
+ void setList(java.util.ArrayList<java.lang.String> list);
+ int getInt();
+ }
+} \ No newline at end of file