Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NullBounds (0.05 seconds)

  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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
Back to Top