aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WithPlain.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-31 15:58:19 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-31 15:58:19 +0100
commit3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7 (patch)
treed03abb38a198bbe5417e3aa1e1f7c55b03f32e63 /test/transform/resource/after-delombok/WithPlain.java
parentc42bfbae39990b365a5f05eb23895da6203023bc (diff)
downloadlombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.tar.gz
lombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.tar.bz2
lombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.zip
[issue #788] Add more nullity annotations where relevant
(chainable setters, static constructors, builder stuff)
Diffstat (limited to 'test/transform/resource/after-delombok/WithPlain.java')
-rw-r--r--test/transform/resource/after-delombok/WithPlain.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithPlain.java b/test/transform/resource/after-delombok/WithPlain.java
index 1a6ff22f..01fca04e 100644
--- a/test/transform/resource/after-delombok/WithPlain.java
+++ b/test/transform/resource/after-delombok/WithPlain.java
@@ -5,10 +5,12 @@ class WithPlain {
this.i = i;
this.foo = foo;
}
+ @org.springframework.lang.NonNull
@java.lang.SuppressWarnings("all")
public WithPlain withI(final int i) {
return this.i == i ? this : new WithPlain(i, this.foo);
}
+ @org.springframework.lang.NonNull
@java.lang.SuppressWarnings("all")
public WithPlain withFoo(final int foo) {
return this.foo == foo ? this : new WithPlain(this.i, foo);