aboutsummaryrefslogtreecommitdiff
path: root/src/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-08-28 00:12:27 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-08-28 00:12:27 +0200
commit0236721d8d3cde431d0a40995a61e4fd3fe14be1 (patch)
tree54841f3e750b4ccc89564712ece7286bc23d40db /src/lombok
parente1ee1b7d2db1ea998aa4d6aa3f6b4141315a9496 (diff)
downloadlombok-0236721d8d3cde431d0a40995a61e4fd3fe14be1.tar.gz
lombok-0236721d8d3cde431d0a40995a61e4fd3fe14be1.tar.bz2
lombok-0236721d8d3cde431d0a40995a61e4fd3fe14be1.zip
Updated documentation for @NonNull (and the changelog).
Diffstat (limited to 'src/lombok')
-rw-r--r--src/lombok/NonNull.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lombok/NonNull.java b/src/lombok/NonNull.java
index 46afc5da..80dc381a 100644
--- a/src/lombok/NonNull.java
+++ b/src/lombok/NonNull.java
@@ -33,6 +33,10 @@ import java.lang.annotation.Target;
*
* You can use this annotation for the purpose, though you can also use JSR305's annotation, findbugs's, pmd's, or IDEA's, or just
* about anyone elses. As long as it is named <code>@NonNull</code> or <code>@NotNull</code>.
+ *
+ * WARNING: If the java community ever does decide on supporting a single @NonNull annotation (for example via JSR305), then
+ * this annotation will <strong>be deleted</strong> from the lombok package. If the need to update an import statement scares
+ * you, you should use your own annotation named <code>@NonNull</code> instead of this one.
*/
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.CLASS)