- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NullBounds (0.03 sec)
-
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)