Skip to content

Commit ab7e287

Browse files
committed
javadoc for NonNull/Nullable annotations
1 parent 6dff800 commit ab7e287

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/java/io/reactivex/annotations/NonNull.java

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
import static java.lang.annotation.ElementType.PARAMETER;
2424
import static java.lang.annotation.RetentionPolicy.CLASS;
2525

26+
/**
27+
* Indicates that a field/parameter/variable/return type is never null.
28+
*/
2629
@Documented
2730
@Target(value = {FIELD, METHOD, PARAMETER, LOCAL_VARIABLE})
2831
@Retention(value = CLASS)

src/main/java/io/reactivex/annotations/Nullable.java

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
import static java.lang.annotation.ElementType.PARAMETER;
2424
import static java.lang.annotation.RetentionPolicy.CLASS;
2525

26+
/**
27+
* Indicates that a field/parameter/variable/return type may be null.
28+
*/
2629
@Documented
2730
@Target(value = {FIELD, METHOD, PARAMETER, LOCAL_VARIABLE})
2831
@Retention(value = CLASS)

0 commit comments

Comments
 (0)