E I M N O P R
All Classes All Packages
All Classes All Packages
All Classes All Packages
E
- equals(Object, Object) - Static method in class org.briarproject.nullsafety.NullSafety
-
Stand-in for
Objects.equals()on older Java/Android versions.
I
- InterfaceNotNullByDefault - Annotation Type in org.briarproject.nullsafety
-
This annotation can be applied to a package or class to indicate that the methods and parameters in that element are non-null by default unless: There is an explicit nullness annotation The method overrides a method in a superclass (in which case the annotation of the corresponding method or parameter in the superclass applies) There is a default nullness annotation applied to a more tightly nested element.
M
- MethodsNotNullByDefault - Annotation Type in org.briarproject.nullsafety
-
This annotation can be applied to a package or class to indicate that the methods in that element are non-null by default unless: There is an explicit nullness annotation The method overrides a method in a superclass (in which case the annotation of the corresponding method in the superclass applies) There is a default nullness annotation applied to a more tightly nested element.
N
- NotNullByDefault - Annotation Type in org.briarproject.nullsafety
-
This annotation can be applied to a package or class to indicate that the fields, methods and parameters in that element are non-null by default unless: There is an explicit nullness annotation The method overrides a method in a superclass (in which case the annotation of the corresponding method or parameter in the superclass applies) There is a default nullness annotation applied to a more tightly nested element.
- NullSafety - Class in org.briarproject.nullsafety
-
Helper method for ensuring null safety.
- NullSafety() - Constructor for class org.briarproject.nullsafety.NullSafety
O
- org.briarproject.nullsafety - package org.briarproject.nullsafety
P
- ParametersNotNullByDefault - Annotation Type in org.briarproject.nullsafety
-
This annotation can be applied to a package or class to indicate that the method parameters in that element are non-null by default unless: There is an explicit nullness annotation The method overrides a method in a superclass (in which case the annotation of the corresponding parameter in the superclass applies) There is a default nullness annotation applied to a more tightly nested element.
R
- requireExactlyOneNull(Object, Object) - Static method in class org.briarproject.nullsafety.NullSafety
-
Checks that exactly one of the arguments is null.
- requireNonNull(T) - Static method in class org.briarproject.nullsafety.NullSafety
-
Stand-in for
Objects.requireNonNull()on older Java/Android versions. - requireNull(Object) - Static method in class org.briarproject.nullsafety.NullSafety
-
Checks that the argument is null.
All Classes All Packages