From 3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 31 Jan 2020 15:58:19 +0100 Subject: [issue #788] Add more nullity annotations where relevant (chainable setters, static constructors, builder stuff) --- test/transform/resource/after-delombok/WithPlain.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/transform/resource/after-delombok/WithPlain.java') 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); -- cgit