mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 08:18:29 +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
@@ -7,10 +7,10 @@ class WithPlain {
|
||||
this.i = i;
|
||||
this.foo = foo;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WithPlain withI(final int i) {
|
||||
public @org.springframework.lang.NonNull @java.lang.SuppressWarnings("all") WithPlain withI(final int i) {
|
||||
return ((this.i == i) ? this : new WithPlain(i, this.foo));
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WithPlain withFoo(final int foo) {
|
||||
public @org.springframework.lang.NonNull @java.lang.SuppressWarnings("all") WithPlain withFoo(final int foo) {
|
||||
return ((this.foo == foo) ? this : new WithPlain(this.i, foo));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user