diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-02-14 16:39:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-02-14 16:39:48 +0100 |
commit | 06581537f24fe31ee096960be496bc503059a95e (patch) | |
tree | 3732f6fe2117c390f9812b5961dd2d95d4293026 /test/transform/resource/after-ecj/DelegateOnMethods.java | |
parent | 5e9e16a6b98da5a17f5efe785917bc1e92265fc8 (diff) | |
download | lombok-06581537f24fe31ee096960be496bc503059a95e.tar.gz lombok-06581537f24fe31ee096960be496bc503059a95e.tar.bz2 lombok-06581537f24fe31ee096960be496bc503059a95e.zip |
More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
TODO: Update -eclipse tests.
Diffstat (limited to 'test/transform/resource/after-ecj/DelegateOnMethods.java')
-rw-r--r-- | test/transform/resource/after-ecj/DelegateOnMethods.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/DelegateOnMethods.java b/test/transform/resource/after-ecj/DelegateOnMethods.java index cb06d3c1..37922e2a 100644 --- a/test/transform/resource/after-ecj/DelegateOnMethods.java +++ b/test/transform/resource/after-ecj/DelegateOnMethods.java @@ -1 +1,13 @@ -//ignore
\ No newline at end of file +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 |