mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
[fixes #2716] SuperBuilder now skips initializers while gathering types
This commit is contained in:
1 parent
04f17f4dcf
commit
5ee6271902
4 files changed
+146
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
class SuperBuilderInitializer {
|
||||
@SuperBuilder
|
||||
public static class One {
|
||||
private String world;
|
||||
{
|
||||
world = "Hello";
|
||||
}
|
||||
|
||||
private static final String world2;
|
||||
static {
|
||||
world2 = "Hello";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user