aboutsummaryrefslogtreecommitdiff
path: root/website2/usageExamples/experimental/HelperExample_post.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website2/usageExamples/experimental/HelperExample_post.jpage')
-rw-r--r--website2/usageExamples/experimental/HelperExample_post.jpage14
1 files changed, 14 insertions, 0 deletions
diff --git a/website2/usageExamples/experimental/HelperExample_post.jpage b/website2/usageExamples/experimental/HelperExample_post.jpage
new file mode 100644
index 00000000..04a97b9f
--- /dev/null
+++ b/website2/usageExamples/experimental/HelperExample_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);
+ }
+}