Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canonicalizeWildcardType (0.33 sec)

  1. 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(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  2. 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>.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. 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(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
Back to top