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