aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/Helper.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-08-13 14:11:00 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-08-13 14:11:00 +0100
commitaad0666ef2f5463bb7e746318a902ebee57e3e86 (patch)
treeb3457ecc46a17807253a16d1eceed823b1ebed8d /test/transform/resource/before/Helper.java
parent6ca549224f4db8dc431f624d1f09556c8939eaed (diff)
downloadlombok-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/before/Helper.java')
-rw-r--r--test/transform/resource/before/Helper.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/before/Helper.java b/test/transform/resource/before/Helper.java
new file mode 100644
index 00000000..145d740f
--- /dev/null
+++ b/test/transform/resource/before/Helper.java
@@ -0,0 +1,19 @@
+import lombok.experimental.Helper;
+
+class HelperTest {
+ void test() {
+ @Helper class H1 {
+ void foo() {
+ System.out.println("Hello");
+ }
+ }
+
+ foo();
+
+ @Helper class H2 {
+ void bar() {
+ foo();
+ }
+ }
+ }
+} \ No newline at end of file