Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckForNull (0.07 sec)

  1. 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)
  2. 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)
Back to top