mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-08 00:17:12 +00:00
[issue #3014] test-case that reproduces this problem.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user