[issue #3014] test-case that reproduces this problem.

This commit is contained in:
Reinier Zwitserloot
2021-10-26 03:49:23 +02:00
parent 7c8ba501de
commit c359a4b41f
3 changed files with 17 additions and 0 deletions
@@ -0,0 +1,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;
}
}
}