Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for TypeParameterUnusedInFormals (0.21 seconds)

  1. 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)
  2. 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)
  3. 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)
Back to Top