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/after-delombok/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/after-delombok/DelegateOnMethods.java')
-rw-r--r-- | test/transform/resource/after-delombok/DelegateOnMethods.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/DelegateOnMethods.java b/test/transform/resource/after-delombok/DelegateOnMethods.java new file mode 100644 index 00000000..b900f140 --- /dev/null +++ b/test/transform/resource/after-delombok/DelegateOnMethods.java @@ -0,0 +1,12 @@ +abstract class DelegateOnMethods { + public abstract Bar getBar(); + + public static interface Bar { + void bar(java.util.ArrayList<java.lang.String> list); + } + + @java.lang.SuppressWarnings("all") + public void bar(final java.util.ArrayList<java.lang.String> list) { + this.getBar().bar(list); + } +}
\ No newline at end of file |