diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-08-13 14:11:00 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-08-13 14:11:00 +0100 |
commit | aad0666ef2f5463bb7e746318a902ebee57e3e86 (patch) | |
tree | b3457ecc46a17807253a16d1eceed823b1ebed8d /test/transform/resource/after-ecj | |
parent | 6ca549224f4db8dc431f624d1f09556c8939eaed (diff) | |
download | lombok-aad0666ef2f5463bb7e746318a902ebee57e3e86.tar.gz lombok-aad0666ef2f5463bb7e746318a902ebee57e3e86.tar.bz2 lombok-aad0666ef2f5463bb7e746318a902ebee57e3e86.zip |
Added new feature: @Helper including both annotations and tests.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/Helper.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/Helper.java b/test/transform/resource/after-ecj/Helper.java new file mode 100644 index 00000000..1b4e8bd2 --- /dev/null +++ b/test/transform/resource/after-ecj/Helper.java @@ -0,0 +1,26 @@ +import lombok.experimental.Helper; +class HelperTest { + HelperTest() { + super(); + } + void test() { + @Helper class H1 { + H1() { + super(); + } + void foo() { + System.out.println("Hello"); + } + } + final H1 $H1 = new H1(); + $H1.foo(); + @Helper class H2 { + H2() { + super(); + } + void bar() { + $H1.foo(); + } + } + } +} |