diff options
author | peichhorn <peichhor@web.de> | 2011-12-05 22:42:50 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-01-19 00:44:47 +0100 |
commit | 87cca2d322be09c51d1e63eea195addd1e99a7e2 (patch) | |
tree | 42aae98ee58d80625c6e696f8baac22707d5ede4 /test/transform/resource/before/DelegateOnMethods.java | |
parent | 68fe3f41e962d247ec372e40c8714f57e5ebee05 (diff) | |
download | lombok-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.java | 11 |
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 |