aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/DelegateOnMethods.java
diff options
context:
space:
mode:
authorpeichhorn <peichhor@web.de>2011-12-05 22:42:50 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-01-19 00:44:47 +0100
commit87cca2d322be09c51d1e63eea195addd1e99a7e2 (patch)
tree42aae98ee58d80625c6e696f8baac22707d5ede4 /test/transform/resource/before/DelegateOnMethods.java
parent68fe3f41e962d247ec372e40c8714f57e5ebee05 (diff)
downloadlombok-87cca2d322be09c51d1e63eea195addd1e99a7e2.tar.gz
lombok-87cca2d322be09c51d1e63eea195addd1e99a7e2.tar.bz2
lombok-87cca2d322be09c51d1e63eea195addd1e99a7e2.zip
[Issue 275] Allow @Delegate on no-argument methods
Diffstat (limited to 'test/transform/resource/before/DelegateOnMethods.java')
-rw-r--r--test/transform/resource/before/DelegateOnMethods.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateOnMethods.java b/test/transform/resource/before/DelegateOnMethods.java
new file mode 100644
index 00000000..1606e18c
--- /dev/null
+++ b/test/transform/resource/before/DelegateOnMethods.java
@@ -0,0 +1,11 @@
+import lombok.Delegate;
+
+abstract class DelegateOnMethods {
+
+ @Delegate
+ public abstract Bar getBar();
+
+ public static interface Bar {
+ void bar(java.util.ArrayList<java.lang.String> list);
+ }
+} \ No newline at end of file