- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CheckForNull (0.07 sec)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} public void oneArgCheckForNullCorrectlyDoesNotThrowNpe(@CheckForNull String s) { // null? no problem } public void oneArgNullableCorrectlyDoesNotThrowNpe(@Nullable String s) { // null? no problem } public void oneArgCheckForNullCorrectlyThrowsOtherThanNpe(@CheckForNull String s) { throw new FooException(); // ok, as long as it's not NullPointerException
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a * parameter whose declaration or type isn't annotated with an annotation with the simple name * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}. * * <p>The tested methods and constructors are invoked -- each time with one parameter being null and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0)