- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for NullBounds (0.06 seconds)
-
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0)