diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-08-19 00:05:41 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-08-19 00:05:41 +0200 |
commit | 72341626ce17ab797bc5f9f003a12b99de2573f5 (patch) | |
tree | f554bc9aa28f5d165df086a43ddb0bc4df4b5fb6 /usage_examples/experimental/HelperExample_pre.jpage | |
parent | d2ebb4ab4c5b9e27fc8d64594522e5333080f588 (diff) | |
download | lombok-72341626ce17ab797bc5f9f003a12b99de2573f5.tar.gz lombok-72341626ce17ab797bc5f9f003a12b99de2573f5.tar.bz2 lombok-72341626ce17ab797bc5f9f003a12b99de2573f5.zip |
Some documentation fixed discovered as we released 1.16.6
Diffstat (limited to 'usage_examples/experimental/HelperExample_pre.jpage')
-rw-r--r-- | usage_examples/experimental/HelperExample_pre.jpage | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usage_examples/experimental/HelperExample_pre.jpage b/usage_examples/experimental/HelperExample_pre.jpage new file mode 100644 index 00000000..cd86ef3c --- /dev/null +++ b/usage_examples/experimental/HelperExample_pre.jpage @@ -0,0 +1,15 @@ +import lombok.experimental.Helper; + +public class HelperExample { + int someMethod(int arg1) { + int localVar = 5; + + @Helper class Helpers { + int helperMethod(int arg) { + return arg + localVar; + } + } + + return helperMethod(10); + } +} |