Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NullBounds (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testNullBounds() {
        // NullBounds has methods whose parameters are type variables that have
        // "extends @Nullable Object" as a bound. This test ensures that NullPointerTester considers
        // those parameters to be @Nullable, so it won't call the methods.
        NullBounds<?, ?, ?> nullBounds = new NullBounds<>();
        new NullPointerTester().testAllPublicInstanceMethods(nullBounds);
        assertThat(nullBounds.xWasCalled).isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top