aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/NonNull.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-01-08 20:16:24 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-01-08 20:16:24 +0100
commit9c07a465c1976140a11c1bee78af485a1c907f63 (patch)
treedd144c455b597591a8f9f0b48aba9ca9f6229911 /src/core/lombok/NonNull.java
parent1845525d440a5612d131cfc0bd9aa6ba7d8e8c06 (diff)
downloadlombok-9c07a465c1976140a11c1bee78af485a1c907f63.tar.gz
lombok-9c07a465c1976140a11c1bee78af485a1c907f63.tar.bz2
lombok-9c07a465c1976140a11c1bee78af485a1c907f63.zip
NonNull state really ought to be documented, so now it is.
Diffstat (limited to 'src/core/lombok/NonNull.java')
-rw-r--r--src/core/lombok/NonNull.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/NonNull.java b/src/core/lombok/NonNull.java
index 08eec2a5..96184dcd 100644
--- a/src/core/lombok/NonNull.java
+++ b/src/core/lombok/NonNull.java
@@ -21,6 +21,7 @@
*/
package lombok;
+import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -40,4 +41,5 @@ import java.lang.annotation.Target;
*/
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.CLASS)
+@Documented
public @interface NonNull {}