diff options
Diffstat (limited to 'test/transform/resource/after-delombok/NonNullPlain.java')
-rw-r--r-- | test/transform/resource/after-delombok/NonNullPlain.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/NonNullPlain.java b/test/transform/resource/after-delombok/NonNullPlain.java new file mode 100644 index 00000000..19869db1 --- /dev/null +++ b/test/transform/resource/after-delombok/NonNullPlain.java @@ -0,0 +1,25 @@ +class NonNullPlain { + @lombok.NonNull + int i; + @lombok.NonNull + String s; + @lombok.NonNull + @java.lang.SuppressWarnings("all") + public int getI() { + return this.i; + } + @java.lang.SuppressWarnings("all") + public void setI(@lombok.NonNull final int i) { + this.i = i; + } + @lombok.NonNull + @java.lang.SuppressWarnings("all") + public String getS() { + return this.s; + } + @java.lang.SuppressWarnings("all") + public void setS(@lombok.NonNull final String s) { + if (s == null) throw new java.lang.NullPointerException("s"); + this.s = s; + } +} |