aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderNestedInEnum.java
blob: 99348002f02261242a05e06e80f17e9c22b82ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// issue #3014: Builder check if its on a non-static inner class and errors if it is. But it was erroring here even though it is on a static inner class.
class BuilderNestedInEnum {
	public enum TestEnum {
		FOO, BAR;
		
		@lombok.Builder
		@lombok.Value
		public static class TestBuilder {
			String field;
		}
	}
}