Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TypeParameterUnusedInFormals (0.11 sec)

  1. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top