From 2aebaff46026dbfa447fd7454472e88c41dc8103 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 1 Dec 2009 23:23:35 +0100 Subject: Moved test resource files to a better matching location --- test/delombok/resource/after/NonNullPlain.java | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/delombok/resource/after/NonNullPlain.java (limited to 'test/delombok/resource/after/NonNullPlain.java') diff --git a/test/delombok/resource/after/NonNullPlain.java b/test/delombok/resource/after/NonNullPlain.java new file mode 100644 index 00000000..2d7ebb4f --- /dev/null +++ b/test/delombok/resource/after/NonNullPlain.java @@ -0,0 +1,25 @@ +class NonNullPlain { + @lombok.NonNull + int i; + @lombok.NonNull + String s; + + @lombok.NonNull + public int getI() { + return i; + } + + public void setI(@lombok.NonNull final int i) { + this.i = i; + } + + @lombok.NonNull + public String getS() { + return s; + } + + public void setS(@lombok.NonNull final String s) { + if (s == null) throw new java.lang.NullPointerException("s"); + this.s = s; + } +} -- cgit