diff options
author | Roel Spilker <r.spilker@gmail.com> | 2009-12-01 23:23:35 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2009-12-01 23:31:12 +0100 |
commit | 2aebaff46026dbfa447fd7454472e88c41dc8103 (patch) | |
tree | 609c69c3cd5277e861315a2b23deb86a8e5c2de9 /test/delombok/resource/after/NonNullPlain.java | |
parent | 2a56f341d0073099859db815caf9d455f74e6198 (diff) | |
download | lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.gz lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.tar.bz2 lombok-2aebaff46026dbfa447fd7454472e88c41dc8103.zip |
Moved test resource files to a better matching location
Diffstat (limited to 'test/delombok/resource/after/NonNullPlain.java')
-rw-r--r-- | test/delombok/resource/after/NonNullPlain.java | 25 |
1 files changed, 25 insertions, 0 deletions
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; + } +} |