From 4e7414038ad9df25fb6d2ee76dd22421e1ff7005 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 25 Mar 2019 23:36:16 +0100 Subject: [i2078] Add possibility to generate assert on `@NonNull` --- test/transform/resource/after-ecj/WitherOnClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/transform/resource/after-ecj/WitherOnClass.java') diff --git a/test/transform/resource/after-ecj/WitherOnClass.java b/test/transform/resource/after-ecj/WitherOnClass.java index 086ba591..166d1842 100644 --- a/test/transform/resource/after-ecj/WitherOnClass.java +++ b/test/transform/resource/after-ecj/WitherOnClass.java @@ -34,7 +34,7 @@ public @java.lang.SuppressWarnings("all") WitherOnClass3 withNonNull(final @lombok.NonNull 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)); } -- cgit