From 41d312454aece596db215800594f0ae5457e4bfd Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sun, 16 Aug 2015 02:36:40 +0200 Subject: Added documentation for @Helper --- usage_examples/experimental/Helper_post.jpage | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 usage_examples/experimental/Helper_post.jpage (limited to 'usage_examples/experimental/Helper_post.jpage') diff --git a/usage_examples/experimental/Helper_post.jpage b/usage_examples/experimental/Helper_post.jpage new file mode 100644 index 00000000..04a97b9f --- /dev/null +++ b/usage_examples/experimental/Helper_post.jpage @@ -0,0 +1,14 @@ +public class HelperExample { + int someMethod(int arg1) { + int localVar = 5; + + class Helpers { + int helperMethod(int arg) { + return arg + localVar; + } + } + Helpers $Helpers = new Helpers(); + + return $Helpers.helperMethod(10); + } +} -- cgit