aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/experimental/Helper_post.jpage
blob: 04a97b9f922cd82b9af56568a76c2f6adbefbe0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
	}
}