mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 00:14:50 +00:00
[issue #788] Add more nullity annotations where relevant
(chainable setters, static constructors, builder stuff)
This commit is contained in:
24 files changed
+112
-41
No files matched your search
@@ -1,12 +1,11 @@
|
||||
import lombok.Value;
|
||||
@Value(staticConstructor = "of")
|
||||
public class ValueStaticConstructorOf {
|
||||
String name;
|
||||
Double price;
|
||||
|
||||
String name;
|
||||
Double price;
|
||||
|
||||
private ValueStaticConstructorOf(String name, Double price) {
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
private ValueStaticConstructorOf(String name, Double price) {
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user