mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
* Fixed issues with @FieldDefaults and @Value (you can NOT override
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
This commit is contained in:
1 parent
ec0cc4348c
commit
7af9add999
23 files changed
+290
-48
No files matched your search
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
private final int yes;
|
||||
private List<T> also;
|
||||
private int $butNotMe;
|
||||
private @java.lang.SuppressWarnings("all") BuilderSimple(final int yes, final List<T> also) {
|
||||
@java.lang.SuppressWarnings("all") BuilderSimple(final int yes, final List<T> also) {
|
||||
super();
|
||||
this.yes = yes;
|
||||
this.also = also;
|
||||
|
||||
Reference in new issue
Block a user