Skip to content

Commit

Permalink
javadoc for NonNull/Nullable annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider committed Feb 3, 2017
1 parent 0f10874 commit 8e8978c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/reactivex/annotations/NonNull.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.CLASS;

/**
* Indicates that a field/parameter/variable/return type is never null.
*/
@Documented
@Target(value = {FIELD, METHOD, PARAMETER, LOCAL_VARIABLE})
@Retention(value = CLASS)
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/reactivex/annotations/Nullable.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.CLASS;

/**
* Indicates that a field/parameter/variable/return type may be null.
*/
@Documented
@Target(value = {FIELD, METHOD, PARAMETER, LOCAL_VARIABLE})
@Retention(value = CLASS)
Expand Down

0 comments on commit 8e8978c

Please sign in to comment.