aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherOnClass.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2019-03-25 23:36:16 +0100
committerRoel Spilker <r.spilker@gmail.com>2019-03-26 00:00:42 +0100
commit4e7414038ad9df25fb6d2ee76dd22421e1ff7005 (patch)
tree8ad77bb929cd0f7e5e47f410c6df4d3b4b2912b7 /test/transform/resource/after-delombok/WitherOnClass.java
parente4b61e1263eb0eb832eb6cfbd97ad92e869ca27e (diff)
downloadlombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.gz
lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.tar.bz2
lombok-4e7414038ad9df25fb6d2ee76dd22421e1ff7005.zip
[i2078] Add possibility to generate assert on `@NonNull`
Diffstat (limited to 'test/transform/resource/after-delombok/WitherOnClass.java')
-rw-r--r--test/transform/resource/after-delombok/WitherOnClass.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/WitherOnClass.java b/test/transform/resource/after-delombok/WitherOnClass.java
index 93309c89..abc93446 100644
--- a/test/transform/resource/after-delombok/WitherOnClass.java
+++ b/test/transform/resource/after-delombok/WitherOnClass.java
@@ -36,7 +36,7 @@ class WitherOnClass3 {
@java.lang.SuppressWarnings("all")
public WitherOnClass3 withNonNull(@lombok.NonNull final String nonNull) {
if (nonNull == null) {
- throw new java.lang.NullPointerException("nonNull is marked @NonNull but is null");
+ throw new java.lang.NullPointerException("nonNull is marked non-null but is null");
}
return this.nonNull == nonNull ? this : new WitherOnClass3(this.couldBeNull, nonNull);
}