Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for canonicalizeWildcardType (0.15 seconds)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

      private boolean is(Type formalType, TypeVariable<?> declaration) {
        if (runtimeType.equals(formalType)) {
          return true;
        }
        if (formalType instanceof WildcardType) {
          WildcardType your = canonicalizeWildcardType(declaration, (WildcardType) formalType);
          // if "formalType" is <? extends Foo>, "this" can be:
          // Foo, SubFoo, <? extends Foo>, <? extends SubFoo>, <T extends Foo> or
          // <T extends SubFoo>.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      }
    
      public void testWildcardSubtypes() throws Exception {
        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
       * This test reproduces the bug in canonicalizeWildcardType() when the type variable is
       * recursively bounded.
       */
      public void testRecursiveWildcardSubtypeBug() throws Exception {
        Exception e =
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

      }
    
      public void testWildcardSubtypes() throws Exception {
        new WildcardSubtypingTests().testAllDeclarations();
      }
    
      /**
       * This test reproduces the bug in canonicalizeWildcardType() when the type variable is
       * recursively bounded.
       */
      public void testRecursiveWildcardSubtypeBug() throws Exception {
        Exception e =
            assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
Back to Top