diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-31 15:58:19 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-31 15:58:19 +0100 |
commit | 3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7 (patch) | |
tree | d03abb38a198bbe5417e3aa1e1f7c55b03f32e63 /test/transform/resource/after-delombok/WithPlain.java | |
parent | c42bfbae39990b365a5f05eb23895da6203023bc (diff) | |
download | lombok-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.java | 2 |
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); |