mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +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
@@ -0,0 +1,11 @@
|
||||
import lombok.AllArgsConstructor;
|
||||
public @AllArgsConstructor(staticName = "of") class StaticConstructor {
|
||||
String name;
|
||||
private @java.lang.SuppressWarnings("all") StaticConstructor(final String name) {
|
||||
super();
|
||||
this.name = name;
|
||||
}
|
||||
public static @org.checkerframework.checker.nullness.qual.NonNull @java.lang.SuppressWarnings("all") StaticConstructor of(final String name) {
|
||||
return new StaticConstructor(name);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user