Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for newArtificialTypeVariable (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/reflect/TypesTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Types.newArtificialTypeVariable(List.class, "E", int.class));
      }
    
      public void testNewTypeVariable_serializable() throws Exception {
        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(Types.newArtificialTypeVariable(List.class, "E")));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
                && Arrays.equals(bounds, resolvedBounds)) {
              return var;
            }
            return Types.newArtificialTypeVariable(
                var.getGenericDeclaration(), var.getName(), resolvedBounds);
          }
          // in case the type is yet another type variable.
          return new TypeResolver(forDependants).resolveType(type);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top