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