- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TypeParameterUnusedInFormals (0.72 seconds)
-
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"}) // The warnings are legitimate. Each time we use this method, we document why. @ParametricNullness static <T extends @Nullable Object> T uncheckedNull() { return null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
return t; } /** Returns {@code null} as any type, even one that does not include {@code null}. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"}) // The warnings are legitimate. Each time we use this method, we document why. @ParametricNullness static <T extends @Nullable Object> T unsafeNull() { return null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullnessCasts.java
return t; } /** Returns {@code null} as any type, even one that does not include {@code null}. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"}) // The warnings are legitimate. Each time we use this method, we document why. @ParametricNullness static <T extends @Nullable Object> T unsafeNull() { return null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} return getDoneValue(localValue); } /** Unboxes {@code obj}. Assumes that obj is not {@code null} or a {@link DelegatingToFuture}. */ @ParametricNullness @SuppressWarnings("TypeParameterUnusedInFormals") // sorry not sorry static <V extends @Nullable Object> V getDoneValue(Object obj) throws ExecutionException { // While this seems like it might be too branch-y, simple benchmarking proves it to beCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0)